Timeline for How to declare some aliases dynamically in zsh?
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 2, 2020 at 23:45 | comment | added | le-doude | sorry for the accepted answer arriving late | |
Feb 2, 2020 at 23:44 | vote | accept | le-doude | ||
Apr 13, 2017 at 12:37 | history | edited | CommunityBot |
replaced http://unix.stackexchange.com/ with https://unix.stackexchange.com/
|
|
Dec 14, 2015 at 22:16 | comment | added | Gilles 'SO- stop being evil' | @chepner Duh, thanks. After all these years on autocd, I tend to forget that it's one of the things that made me switch to zsh back when bash didn't have it. | |
Dec 14, 2015 at 22:15 | history | edited | Gilles 'SO- stop being evil' | CC BY-SA 3.0 |
autocd is needed (thanks chepner)
|
Dec 14, 2015 at 21:16 | comment | added | chepner |
Also, I think you're missing setopt AUTOCD (for zsh ) and shopt -s autocd (for bash ) to complete the idea of using a directory name as an alias for changing to that directory.
|
|
Dec 14, 2015 at 21:14 | comment | added | chepner |
I'd move the cdpath suggestion into a TL;DR line at the top of the post :)
|
|
Dec 14, 2015 at 19:41 | history | answered | Gilles 'SO- stop being evil' | CC BY-SA 3.0 |