Created
September 25, 2018 16:54
-
-
Save dherault/83bed42b441de2f2dcca74f57185086a 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
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1) /' | |
} | |
if [ "$color_prompt" = yes ]; then | |
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;33m\]\u\[\033[31m\]@\[\033[01;33m\]\h \[\033[01;36m$ | |
else | |
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' | |
fi | |
unset color_prompt force_color_prompt | |
alias server='python -m SimpleHTTPServer' | |
alias n='npm start' | |
alias d='npm run dev' | |
alias w='npm run watch' | |
alias b='npm run build' | |
alias t='npm test' | |
alias commit='sh ~/scripts/quick_commit.sh' | |
alias amend='git add . -A && git commit --amend' | |
alias gcm='git checkout master' | |
alias octavex='octave --no-gui' | |
alias p3='python3.5' | |
alias samiam='cd /home/david/Software/samiam/ && ./runsamiam' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment