Skip to content

ChunYen-Chen/Better-cd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Setup

  1. Copy this file to somewhere (e.g. ~/Better_cd.sh).
  2. Add the following line to your .bashrc:
    source ~/Better_cd.sh
  3. Resource the .bashrc by executing the command:
    source ~/.bashrc

Usage

  1. cd now also records pwd to the .dir_history
  2. cdl list the directories you have been to.
  3. cdl 20 list 20 directories you have been to.
  4. cdd go to the last directory
  5. cdd 4 go to the fourth directory listed by cdl

About

A better cd command allows the user to go to history paths.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages