Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed prompt leaving wrong colours

  • Loading branch information...
commit 11b1007b9541120252f3d44f79ea98a42ee2658f 1 parent cd70169
@matijs authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  .bash/prompt
View
2  .bash/prompt
@@ -1,3 +1,3 @@
export PS1='(\!) \u@\h:\W \[$PROMPT_SMILEY\]\$ ';
# to be executed every time before a prompt is displayed
-export PROMPT_COMMAND='[ $? -eq 0 ] && PROMPT_SMILEY="" || PROMPT_SMILEY="$(tput setaf 1)! $(tput sgr0)"';
+export PROMPT_COMMAND='[ $? -eq 0 ] && PROMPT_SMILEY="$(tput sgr0)" || PROMPT_SMILEY="$(tput setaf 1)! $(tput sgr0)"';
Please sign in to comment.
Something went wrong with that request. Please try again.