| Crates.io | naviga |
| lib.rs | naviga |
| version | 0.1.4 |
| created_at | 2022-09-01 20:34:41.290719+00 |
| updated_at | 2022-09-06 20:52:21.979026+00 |
| description | Naviga helps users navigate easily through directories |
| homepage | |
| repository | https://github.com/ByHelyo/naviga |
| max_upload_size | |
| id | 656994 |
| size | 36,880 |
Naviga helps users navigate easily through directories. Naviga's design is inspired from Ranger.
$ cargo install naviga
A program can't change the current directory as a process can only affect its own environment. A shell function must be added in your shell configuration file (.bashrc, .zshrc) the terminal must be restarted.
I agree, a shell function is not the smartest way.
function nav() {
naviga
if [ -f "$HOME/naviga.sh" ]; then
. ~/naviga.sh
rm ~/naviga.sh
fi
}
export function nav
Launch naviga with nav (the shell function defined above). Use the arrow keys or h i j k to navigate, Enter to jump into the selected directory, and q to exit.
$ cargo uninstall naviga