"fast_cd_menu" is a bash script to support command "c" in bash to show cd history as menu.
(Bash 3.0 or higher is required)
To install or update fast_cd_menu, you can use the install script with curl
curl -o- https://raw.githubusercontent.com/xhawk18/fast_cd_menu/master/install.sh | bashor wget
wget -qO- https://raw.githubusercontent.com/xhawk18/fast_cd_menu/master/install.sh | bashThe script installs fast_cd_menu in ~/.fast_cd and adds the source line to your profile (~/.bash_profile, ~/.profile, or ~/.bashrc).
source "$HOME/.fast_cd/fast_cd_menu.sh"To uninstall, run
curl -o- https://raw.githubusercontent.com/xhawk18/fast_cd_menu/master/install.sh | bash -s -- --uninstallor
wget -qO- https://raw.githubusercontent.com/xhawk18/fast_cd_menu/master/install.sh | bash -s -- --uninstallAfter installed, re-open the bash console and cd to some folders firstly, and then you can try the super command c. For example --
- show a menu of cd history
c- go to 2nd folder in the cd history
c 2- go to the folder which name contains string test, where "name" is the folder's name, not full path.
c test