Skip to content

pridapablo/magic-cli-nav

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

magic-cli-nav

magic-cli-nav is a command-line navigation tool for Zsh that allows you to easily switch between directories using numeric prefixes. It automatically generates aliases for any directory you navigate to, making it quicker to navigate through your file system.

Installation

To install magic-cli-nav, use homebrew:

brew tap pridapablo/taps
brew install magicclinav

Usage

You can start using magic-cli-nav immediately after you source the script from your .zshrc file (find instructions right after installation). Here are some key features:

Use the 'lsd' command to list directories with numeric prefixes.

lsd

Use the numeric prefixes (1-9) to quickly switch to a directory.

2

Note that when you switch directories using the numeric aliases, the new prefixes will be shown automatically.

image

The cd command is aliased to chd, which updates the numeric prefixes after changing directories. This means you can continue using the numeric prefixes even after navigating to a different directory.

You can create directories using the mkdir command, and remove directories using the rmdir command. The numeric prefixes are automatically updated.

Uninstallation

To uninstall magic-cli-nav, use homebrew:

brew uninstall magic-cli-nav
brew untap magic-cli/magic-cli

And remove the source line from your .zshrc file.

About

A simple alias-based zshell navigation tool

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages