▲ | Perz1val 4 days ago | |||||||||||||||||||||||||||||||
Same and I'm about to try the counter approach: just alias those few things | ||||||||||||||||||||||||||||||||
▲ | cb321 3 days ago | parent [-] | |||||||||||||||||||||||||||||||
In Zsh with `setopt autocd cdablevars`, shell variables more or less work like cd-aliases. You could also just add `a=projectA; b=projectB; c=projectC` to your `~/.zprofile` and then at prompts type 1-letter commands `a`, `b`, `c`. One added bonus of such file tree bookmarks via variables (over a similar `alias a='cd foo'`) is that if you get muscle-memory/active memory for those few abbreviations other use cases like `make -C $a` also work. I usually leave `$hb` & `$lb` set to `$HOME/bin` and `/usr/local/bin`, for example. | ||||||||||||||||||||||||||||||||
|