←back to thread

946 points speckx | 1 comments | | HN request time: 0.201s | source
Show context
revicon ◴[] No.45674313[source]
I have a bunch of little scripts and aliases I've written over the years, but none are used more than these...

alias ..='cd ..'

alias ...='cd ../..'

alias ....='cd ../../..'

alias .....='cd ../../../..'

alias ......='cd ../../../../..'

alias .......='cd ../../../../../..'

replies(6): >>45674378 #>>45674420 #>>45674599 #>>45675353 #>>45676254 #>>45678784 #
vunderba ◴[] No.45674420[source]
Does zsh support this out-of-the-box? Because I definitely never had to setup any of these kinds of aliases but have been using this shorthand dot notation for years.
replies(2): >>45674855 #>>45679296 #
1. soraminazuki ◴[] No.45679296[source]
It's an oh-my-zsh thing.