Last active
December 16, 2015 02:29
-
-
Save Schniz/5362466 to your computer and use it in GitHub Desktop.
My startup file @ Ubuntu
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
# Git branch parsing | |
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ \1/' | |
} | |
# Prompt | |
export PS1="\[\e[33m\]\u\[\e[0m\] \w\[\e[32m\]\$(parse_git_branch)\[\e[0m\] \[\e[1;34m\]≋\[\e[0m\] " | |
# Aliases | |
alias ls="ls --color" # LSing in color! | |
alias putclip="xclip -selection clip-board" # For clipboard stuff | |
alias art="php artisan" # Artisan all the way! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment