-
-
Save boovius/5819470 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
# path: | |
PS1='\[\e[0;33m\]⚡\[\e[m\] \[\e[0;31m\]${PWD##*/}\[\e[m\] ' | |
# general shorcuts | |
alias ll="ls -lahG" | |
alias reload="source ~/.profile" | |
alias up="cd .." | |
alias back="cd -" | |
alias desktop="cd ~/Desktop" | |
alias server="python -m SimpleHTTPServer" | |
# handy git shortcuts | |
alias go="git checkout" | |
alias s="echo ''; git status -sb; echo ''" | |
alias stage="git add ." | |
alias c="git commit -am" | |
alias got='git ' | |
alias get='git ' | |
alias glog="git log --graph --pretty=format:'%Cred%h%Creset %an: %s - %Creset %C(yellow)%d%Creset %Cgreen(%cr)%Creset' --abbrev-commit --date=relative" | |
alias branch="git branch" | |
alias mpush="git push origin master" | |
alias mpull="git pull origin master" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment