Skip to content

Commit

Permalink
Merge pull request supertopher#20 from mikelikesbikes/master
Browse files Browse the repository at this point in the history
Append our $PROMPT_COMMAND to the system's $PROMPT_COMMAND
  • Loading branch information
supertopher committed Jul 29, 2015
2 parents c24a52b + b8917dc commit 8016ced
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .bash_profile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ c_git_clean='\[\e[0;32m\]'
c_git_dirty='\[\e[0;31m\]'

# PS1 is the variable for the prompt you see everytime you hit enter
PROMPT_COMMAND='PS1="${c_path}\W${c_reset}$(git_prompt) :> "'
PROMPT_COMMAND=$PROMPT_COMMAND' PS1="${c_path}\W${c_reset}$(git_prompt) :> "'

export PS1='\n\[\033[0;31m\]\W\[\033[0m\]$(git_prompt)\[\033[0m\]:> '

Expand Down

0 comments on commit 8016ced

Please sign in to comment.