Last active
August 29, 2015 13:57
-
-
Save oiuww09fn/9600826 to your computer and use it in GitHub Desktop.
bashrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# TODO Anywhere | |
export SVN_EDITOR=vim | |
alias ..='cd ..' | |
alias ...='cd ../..' | |
alias ....='cd ../../..' | |
alias .....='cd ../../../..' | |
alias ......='cd ../../../../..' | |
alias autopep8='autopep8 --in-place --aggressive' | |
alias du='du -sh' | |
# pip for virtualenv | |
# sudo pip install virtualenv | |
export PIP_REQUIRE_VIRTUALENV=true | |
# export PIP_RESPECT_VIRTUALENV=true | |
# virtualenvwrapper setting | |
# sudo pip install virtualenvwrapper | |
# USAGE: | |
# workon list env | |
# workon <envname> start/switch env | |
# mkvirtualenv <envname> mk env | |
# rmvitualenv <envname> rm env | |
# deactivate exitenv | |
export WORKON_HOME=$HOME/.virtualenvs | |
source /usr/local/bin/virtualenvwrapper.sh | |
workon dev | |
# pythonstartup | |
export PYTHONSTARTUP=~/.pythonstartup | |
# z.sh | |
# https://github.com/rupa/z | |
source ~/.z_sh/z.sh | |
alias zl='z -l' | |
# terminal dictionary | |
# sudo apt-get install sdcv stardict | |
# and copy the dic to ~/.stardict/dic/ | |
alias dic="sdcv -c -u langdao5.0 -u computer_dictionary" | |
alias d="sdcv -c -u langdao5.0 -u computer_dictionary" | |
# go path | |
export PATH=$PATH:/usr/local/go/bin | |
export GOPATH=~/backup/golang | |
alias gofmt='gofmt -tabs=false -tabwidth=4 -w' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment