Created
February 1, 2012 12:19
-
-
Save czerasz/1716793 to your computer and use it in GitHub Desktop.
My .profile
This file contains 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
# if running bash | |
if [ -n "$BASH_VERSION" ]; then | |
# include .bashrc if it exists | |
if [ -f "$HOME/.bashrc" ]; then | |
. "$HOME/.bashrc" | |
fi | |
fi | |
# Set PATH so it includes user's private bin if it exists | |
if [ -d "$HOME/bin" ] ; then | |
PATH="$HOME/bin:$PATH" | |
fi | |
## Aliases | |
# git shortcuts | |
# source: http://gitimmersion.com/lab_11.html | |
alias gs='git status ' | |
alias ga='git add ' | |
alias gb='git branch ' | |
alias gc='git commit' | |
alias gd='git diff' | |
alias go='git checkout ' | |
alias gk='gitk --all&' | |
alias gx='gitx --all' | |
alias got='git ' | |
alias get='git ' | |
# Displays all dot files | |
alias l.='ls -d .* --color=auto' | |
# Improved ls | |
alias ll='ls -hal –color=auto' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment