Skip to content

Commit

Permalink
__git_ps1 or autojump.sh may not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
puzzlet committed Jun 9, 2013
1 parent c80d487 commit f767b1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function _prompt {
PS1="${debian_chroot:+($debian_chroot)}\u@\h $BLUE\w$OFF"

# git status
PS1="$PS1$BROWN$(__git_ps1)$OFF "
command -v __git_ps1 2>&1 && PS1="$PS1$BROWN$(__git_ps1)$OFF"

PS1="$PS1$BROWN$(hg prompt "({branch} {status}{update}) " 2>/dev/null)$OFF"

Expand All @@ -78,7 +78,7 @@ export EDITOR=vim
# sort ASCII-wise in ls
export LC_COLLATE="C"

. /usr/share/autojump/autojump.sh
[ -f /usr/share/autojump/autojump.sh ] && . /usr/share/autojump/autojump.sh

# colored grep and less
alias grep="grep --color=always"
Expand Down

0 comments on commit f767b1e

Please sign in to comment.