-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 9753e11
Showing
4 changed files
with
2,792 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
|
||
alias ..='cd ..' | ||
alias ls='ls --color' | ||
export EDITOR=vim | ||
|
||
function parse_git_dirty { | ||
[[ $(git status 2> /dev/null | tail -n1) != "nothing to commit, working directory clean" ]] && echo "*" | ||
} | ||
function parse_git_branch { | ||
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e "s/* \(.*\)/[\1$(parse_git_dirty)]/" | ||
} | ||
export PS1='\u@\h \[\033[1;33m\]\w\[\033[0m\]$(parse_git_branch)$ ' | ||
|
||
source ~/.git-completion.bash | ||
|
||
# source /usr/local/bin/virtualenvwrapper.sh | ||
|
||
export C_INCLUDE_PATH=$HOME/packages/include:$C_INCLUDE_PATH | ||
export PKG_CONFIG_PATH=$HOME/packages/lib/pkgconfig/:$PKG_CONFIG_PATH | ||
export LD_LIBRARY_PATH=$HOME/packages/lib:$LD_LIBRARY_PATH | ||
|
Oops, something went wrong.