Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
dusted
· 4y ago · 0 comments
oh yes, of course, I used to type cd ~ instead of just cd. Totally forgot that
Comments
[–]
JoBrad
4y ago
My top 2 aliases (after ll):
alias ~="cd ~" alias ..="cd .."
[–]
ksherlock
4y ago
As of bash 4, `shopt -s autocd` will automatically do that (and more).
[–]
JoBrad
4y ago
TIL - thanks!
[–]
notinty
4y ago
cd ~dusted
is the lesser-known expansion