Skip to content

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
fabuzaid21 committed Apr 18, 2017
0 parents commit 9753e11
Show file tree
Hide file tree
Showing 4 changed files with 2,792 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .bashrc
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

Loading

0 comments on commit 9753e11

Please sign in to comment.