Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Easier navigation: .., ..., ~ and -
- alias ..="cd .."
- alias cd..="cd .."
- alias ...="cd ../.."
- alias ....="cd ../../.."
- alias .....="cd ../../../.."
- # Handy things
- # alias spotify="osascript ~/code/SpotifyControl/SpotifyControl.scpt"
- # List all files colorized in long format
- alias l="ls -l ${colorflag}"
- # List all files colorized in long format, including dot files
- alias la="ls -la ${colorflag}"
- # List only directories
- alias lsd='ls -l | grep "^d"'
- # `cat` with beautiful colors. requires Pygments installed.
- alias c='pygmentize -O style=monokai -f console256 -g'
- # IP addresses
- alias localip="ipconfig getifaddr en1"
- # Recursively delete `.DS_Store` files
- alias cleanup="find . -name '*.DS_Store' -type f -ls -delete"
- # Shortcuts
- alias g="git"
- alias v="vim"
- alias gs="git status"
- alias gss="git status -s"
- alias gb="git branch"
- alias gba="git branch -a"
- alias gl="git log --pretty=oneline -n 20 --graph --abbrev-commit"
- alias s="spotify toggle"
- alias sp="spotify prev"
- alias sn="spotify next"
- alias s+="spotify vol up"
- alias s-="spotify vol down"
- alias spot="spotify"
- alias ss="spotify status"
- alias tom="/Users/hanstra/apps/tomcat/tomcat/bin/startup.sh"
- alias tomstop="/Users/hanstra/apps/tomcat/tomcat/bin/shutdown.sh"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement