Created
November 29, 2010 15:49
-
-
Save desandro/720107 to your computer and use it in GitHub Desktop.
Terminal styles and aliases
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
# Aliases | |
alias showhidden="defaults write com.apple.finder AppleShowAllFiles TRUE; killall Finder" | |
alias hidehidden="defaults write com.apple.finder AppleShowAllFiles FALSE; killall Finder" | |
alias myip="echo ethernet:; ipconfig getifaddr en0; echo wireless:; ipconfig getifaddr en1" | |
alias gitx="open -a GitX ." | |
alias ohmygit="open .; mate .; gitx" | |
alias jkas="jekyll --auto --server" | |
alias rmjkas="rm -rf _site/* && jkas" | |
alias symlink="ln -s" | |
# http://snippets.dzone.com/posts/show/2486 | |
alias killsvn="find . -name ".svn" -type d -exec rm -rf {} \;" | |
# git add remote branch | |
function garb() { | |
echo "Adding remote branch '$1'"; | |
git config branch.$1.remote origin; | |
git config branch.$1.merge refs/heads/$1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment