aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-09-01 22:01:45 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-09-01 22:01:45 +1200
commitf6cafc0125ce79b47d7faa97be0aa18c6ad86b9e (patch)
tree288bf42433f9fad4b6b0fc67b2714a49d4cb24dd /bash
parentAdd file completion to exec/sudo (diff)
downloaddotfiles-f6cafc0125ce79b47d7faa97be0aa18c6ad86b9e.tar.gz
dotfiles-f6cafc0125ce79b47d7faa97be0aa18c6ad86b9e.zip
Clearer syntax for prompt
Diffstat (limited to 'bash')
-rw-r--r--bash/bashrc.d/prompt.bash2
1 files changed, 1 insertions, 1 deletions
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