News for hackers. Stuff that matters.
Re:Show HN: Unix tool that visualizes shell commands usage by stevekemp on Saturday February 27, 2021 @06:34AM (#26284176)
A raw "cd" with no arguments will take you back to your home-directory. Of course "~" is one less character to type, but on the off-chance you didn't know.
Re:Show HN: Unix tool that visualizes shell commands usage by JNRowe on Saturday February 27, 2021 @09:19AM (#26284996)
As we're offering alternatives. Either `shopt autocd` in bash or `setopt auto_cd` in zsh, then ~ changes to home by simply being a path.