Skip to content

Instantly share code, notes, and snippets.

@vivanov1410
Created December 6, 2012 08:30
Show Gist options
  • Save vivanov1410/4222744 to your computer and use it in GitHub Desktop.
Save vivanov1410/4222744 to your computer and use it in GitHub Desktop.
bash settings
COL_BLACK=$'\[\033[30m\]'
COL_RED=$'\[\033[31m\]'
COL_GREEN='\[\033[32m\]'
COL_YELLOW_ORANGE=$'\[\033[33m\]'
COL_BLUE=$'\[\033[34m\]'
COL_MAGENTA=$'\[\033[35m\]'
COL_CYAN=$'\[\033[36m\]'
COL_NORM=$'\[\033[39m\]'
PMPT_BOLD=$'\[\033[1m\]'
PMPT_NORM=$'\[\033[0m\]'
RED="\[\033[0;31m\]"
YELLOW="\[\033[0;33m\]"
GREEN="\[\033[0;32m\]"
#PS1='[\u@\h`__git_ps1` \W]\$ '
#export PS1='\[\033[01;32m\]\u@\h\[\033[00m\] \[\033[01;34m\]\w\[\033[00m\]$(__git_ps1 "\[\033[01;33m\](%s)\[\033[00m\]")$ '
#PS1='\002 $(__git_ps1 "\[\033[01;33m\](%s)\[\033[00m\]")$ '
#PS1=' \013 \W`__git_ps1 `: '
#export PS1='\011\[\e[32m\]λ \w\[\e[36m\]$(__git_ps1 " (%s)") [$(~/.rvm/bin/rvm-prompt i v)]\[\e[0m\]\n\[\e[32m\]→\[\e[0m\] '
PS1='\n\011\[\033[34m\]λ \[\033[30m\]\W\[\033[32m\]`__git_ps1`\[\033[30m\]: '
#PS1='\n\011\[\033[31m\]λ \[\033[32m\]\W\[\033[32m\]`__git_ps1`\[\033[30m\]: '
alias ..="cd .."
alias rm="rm -vi"
alias rmdir="rm -r"
alias ls="ls -ShF --color=auto"
alias cl="clear"
alias open="start sublime_text"
alias desktop="cd ~/Desktop"
alias vss="cd ~/Documents/VSS"
alias dev="cd ~/Dropbox/Public/dev"
alias fyi="cd ~/Dropbox/FYI/Projects"
alias build-server="cd /c/build-server"
alias company-wars="cd ~/Dropbox/Public/dev/games/company-wars"
alias lumiere="cd ~/Dropbox/Public/dev/apps/lumiere"
alias life-quest="cd ~/Dropbox/Public/dev/games/life-quest"
alias pake="cd ~/Dropbox/Public/dev/work/pake"
alias testy="cd ~/Dropbox/Public/dev/work/testy"
alias msbuild="/C/Windows/Microsoft.NET/Framework64/v4.0.30319/msbuild.exe"
alias gd="git diff"
alias ga="git add"
alias gbd="git branch -D"
alias gst="git status"
alias gca="git commit -a -m"
alias gm="git merge --no-ff"
alias gpt="git push --tags"
alias gp="git push"
alias grh="git reset --hard"
alias gb="git branch"
alias gcob="git checkout -b"
alias gco="git checkout"
alias gba="git branch -a"
alias gcp="git cherry-pick"
alias gl="git log --pretty='format:%Cgreen%h%Creset %an - %s' --graph"
alias lga="git log --graph --oneline --all --decorate"
alias gpom="git pull origin master"
alias gcd='cd "`git rev-parse --show-toplevel`"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment