Settings

Theme

Show HN: CD-Deluxe for the Command Line

github.com

2 points by m6z 23 days ago · 1 comment · 1 min read

Reader

Hello Hackerians. Please check out another CD (change directory) utility: cd-deluxe. Why? Using command line is great and powerful but the humble default cd command is somewhat weak. And it is one of the most used commands. Here is another attempt at improving it!

Examples: Use "cd --" to go back two directories, "cd ---" to go back 3 directories, etc. Or go in the opposite direction ie "cd +4" to go to the fourth directory visited from the start (or any number). Use "cd ," (comma) to go to the most commonly visited directory (comma meaing "common"). Also see "cd ,,", "cd ,3", etc. List directories visited either in reverse, forward or most common orderings. Plus more - see github. Goal was to be lightweight and fast. Works from the directory stack instead any file based storage. Integrates with bash/zsh/fish/powershell/cmd.exe. With downloads for Linux/maxOS/Windows or build the C++ from source via CMake. Please have a look and let me know of any thoughts. Thanks!

JoshYewman 23 days ago

Okay I am using this now and I really like it! Thanks!

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection