Hacker Times
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
nness
on July 11, 2015
|
parent
|
context
|
favorite
| on:
Ask HN: Share your favourite bash/zsh aliases
If you're a virtualenv user, I use this one-liner to start load a virtualenv named after the current directory:
alias v='workon "${PWD##*/}"'
Also, I really like the -p flag of mkdir (creating child directories as needed, without failing if one doesn't exist)
alias mkdir='mkdir -p' # i.e. mkdir ./a/b/c/
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: