Created
February 14, 2014 09:21
-
-
Save olund/8998166 to your computer and use it in GitHub Desktop.
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
alias commit='git commit -m' | |
alias l='ls -lF' | |
#trolol alias because of http://xkcd.com/530 | |
alias highvolume="osascript -e 'set volume 7'" | |
alias mute="osascript -e 'set volume output muted true'" | |
# List only directories | |
alias lsd='ls -l ${colorflag} | grep "^d"' | |
# Easier navigation: .., ..., ...., ....., ~ and - | |
alias ..="cd .." | |
alias ...="cd ../.." | |
alias ....="cd ../../.." | |
alias .....="cd ../../../.." | |
alias ~="cd ~" # `cd` is probably faster to type though | |
alias -- -="cd -" | |
#editor | |
alias ee="pico" | |
# Shortcuts | |
alias d="cd ~/Dropbox" | |
alias dl="cd ~/Downloads" | |
alias dt="cd ~/Desktop" | |
alias sites="cd ~/Dropbox/sites" | |
alias vim="vi" | |
alias s="subl ." | |
PROMPT="%{$(tput bold)%}%{$(tput setaf 1)%}❯%{$(tput setaf 4)%}❯%{$(tput setaf 3)%}❯ %{$(tput sgr0)%}" | |
RPROMPT='%{$fg[green]%}%~%{$reset_color%}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment