From f6cafc0125ce79b47d7faa97be0aa18c6ad86b9e Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 1 Sep 2013 22:01:45 +1200 Subject: Clearer syntax for prompt --- bash/bashrc.d/prompt.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bash') diff --git a/bash/bashrc.d/prompt.bash b/bash/bashrc.d/prompt.bash index 68656284..22258022 100644 --- a/bash/bashrc.d/prompt.bash +++ b/bash/bashrc.d/prompt.bash @@ -25,7 +25,7 @@ prompt() { local reset=$(tput sgr0) # String it all together - PS1="\\[$color\\]$PS1\\[$reset\\] " + PS1='\['"$color"'\]'"$PS1"'\['"$reset"'\] ' ;; # Revert to simple inexpensive prompt -- cgit v1.2.3