A program written in c to save and navigate directories easily. Directories can be saved with an access name to be navigated to at a later time. Directories and names are saved in a .nvsave
file in the user's home directory.
$ nv
Compile:
gcc -o bin/nv main.c
Copy to /usr/bin (to exectute like $ nv
)
cp ./bin/nv /usr/bin
Change file permissions
chmod 755 /usr/bin/nv
Stores current directory with an incremented number as the key
-a "NAME"
Adds the current directory with NAME as the key
`--set-default`: Sets added directory to default position + `-d` "NAME": Deletes directory with key NAME + `-l`: Lists all stored directories and keys + `-f`: Prints save file location
Changes directory to default or first listed directory
-n "NAME"
Changes directory to stored value with key NAME
- Convert to bash script?
Created by Nasser Kessas
PRs accepted, feel free to dive in! Open an issue or submit PRs.
Directory Navigation Tool (nv
) follows the Contributor Covenant Code of Conduct.