bash: fix some prompt quoting
This commit is contained in:
@@ -42,7 +42,7 @@ git_root() {
|
||||
prompt_function() {
|
||||
prompt=""
|
||||
|
||||
HOST_COLOR_ID=$(( "16#$(hostname | md5sum | cut -f1 -d' ')" % 7 + 1)) # [1, 7]
|
||||
HOST_COLOR_ID=$(( 16#$(hostname | md5sum | cut -f1 -d' ') % 7 + 1)) # [1, 7]
|
||||
HOST_COLOR="${RST}\001$(tput setaf $HOST_COLOR_ID)\002"
|
||||
GIT_COLOR="${RST}${FG_CYN}"
|
||||
DIR_COLOR="${RST}${FG_YEL}"
|
||||
|
||||
Reference in New Issue
Block a user