Last active
December 19, 2018 15:04
-
-
Save marcoala/a5208dd2f5a786a2599134d1bde14fae to your computer and use it in GitHub Desktop.
Some line of my .bash_profile
This file contains hidden or 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
| # virtualenvwrapper | |
| export WORKON_HOME=~/.vienvs | |
| source /usr/local/bin/virtualenvwrapper.sh | |
| export PATH=/Users/$USER/Library/Python/2.7/bin/:/usr/local/bin:$PATH | |
| # nicer prompt | |
| export PS1='\u@\h:\[\033[36;2m\]\w\[\033[m\]\$ ' | |
| export CLICOLOR=1 | |
| export LSCOLORS=ExFxBxDxCxegedabagacad | |
| # jump https://github.com/gsamokovarov/jump | |
| eval "$(jump shell)" | |
| # usefull aliases | |
| alias lla='ls -GFlah' | |
| alias rmpyc='find . -name \*.pyc -delete' | |
| alias pipclean='pip freeze | xargs pip uninstall -y' | |
| alias doc='docker-compose' | |
| # manage postgres, commented because I use docker now | |
| # alias pg_start='pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start' | |
| # alias pg_restart='pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log restart' | |
| # alias pg_stop='pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log stop' | |
| # https://github.com/nvbn/thefuck | |
| eval "$(thefuck --alias)" | |
| # git auto completion - https://github.com/bobthecow/git-flow-completion/wiki/Install-Bash-git-completion | |
| if [ -f `brew --prefix`/etc/bash_completion ]; then | |
| . `brew --prefix`/etc/bash_completion | |
| fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment