4 ms·
Wow I’m just blown away by this. Really cool trick to navigate directories fast I’m definitely going to add this to my .zshrc Honestly commandline has made so
by mraza007 6y ago
Wow I’m just blown away by this.
Really cool trick to navigate directories fast I’m definitely going to add this to my .zshrc
Honestly commandline has made so many things easier for me that I don’t even use regular apps besides my browser for browsing web anyhow using commandline has really made me productive
And I always look for automating or making the workflow better
Anyways great post thanks for sharing:)
- vbernat 6y agoFor Zsh, there are better stuff available. For example, you can use `cd +<tab>` to change to a past directory. And instead of aliases for `.....`, you can use: # Expand ... to ../.. function vbe-expand-dot-to-parent-directory-path() { case $LBUFFER in (./..|* ./..) LBUFFER+='.' ;; # In Go: "go list ./..." (..|*[ /=]..) LBUFFER+='/..' ;; (*) LBUFFER+='.' ;; esac } zle -N vbe-expand-dot-to-parent-directory-path bindkey "." vbe-expand-dot-to-parent-directory-path bindkey -M isearch "." self-insert
- mraza007 6y agoThanks for sharing this I’ll try this out