Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (24 sloc) 869 Bytes
export EDITOR='vim'
alias zshconfig="vim ~/.zshrc"
alias ports='sudo lsof -i -P | grep -i "listen"' # list open ports
alias f='find .-name'
alias h='htop'
alias c='clear'
alias bp='bpython'
alias v='vim'
alias g='git'
# Recursively delete `.pyc` files
alias rmpyc="find . -type f -name '*.pyc' -ls -delete"
alias b='brew install'
#better directory navigation
alias ..='cd ..'
alias ...='cd ../../'
alias ....='cd ../../../'
#get local ips
alias ips="ifconfig -a | grep -o 'inet6\? \(\([0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+\)\|[a-fA-F0-9:]\+\)' | sed -e 's/inet6* //'"
#django specific
alias runserver='python manage.py runserver'
alias startapp='python manage.py startapp'
alias startproject='djangoadmin.py startproject'
alias vlc='/Applications/VLC.app/Contents/MacOS/VLC'
alias pipup='pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs pip install -U'