4 ms·
alias ..="cd .." If you use zsh, typing a directory name changes to it automatically. It’s almost always a very delightful thing.
by chrismorgan 8y ago
alias ..="cd .."
If you use zsh, typing a directory name changes to it automatically. It’s almost always a very delightful thing.
- vittore 8y agoadd z to it!
- morenoh149 8y agoI like alias h="cd -" to go to the last directory I was in. Inspired by how you move the cursor to the left in vim.
- rossy 8y agoBash has this as well set autocd
- vfulco2 8y agoside note: i started to get into zsh and then serverless. zsh was balking at finding node.js/yarn stuff and running commands. I had to revert back to bash