Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

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: