diff options
author | mail_redacted_for_web | 2025-01-10 11:14:30 +0100 |
---|---|---|
committer | mail_redacted_for_web | 2025-01-10 11:14:30 +0100 |
commit | e55e81a7157ab209d84abe15de3073b602760fff (patch) | |
tree | 21629a933c3e775ec213234589a629e42d340ec5 | |
parent | 6128838c3dc1de7270d813def8dc577228afb21f (diff) | |
download | dotfiles-e55e81a7157ab209d84abe15de3073b602760fff.tar.bz2 |
make the prompt's command counter dim and italic
-rw-r--r-- | .bash/prompt.bash | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.bash/prompt.bash b/.bash/prompt.bash index c5b8c92..178503a 100644 --- a/.bash/prompt.bash +++ b/.bash/prompt.bash @@ -151,10 +151,10 @@ __prompt_command() { fi case "$MYUID" in 0) - PS1="\\# \[$(tput bold)\]\[$($FGC1)\]\\u\[$($FGC2)\]@$PHN \[$($FGC3)\]\\w \[$(tput sgr0)\]\\n" + PS1="\[\\033[2m\\033[3m\]\\#\[\\033[0m\] \[$(tput bold)\]\[$($FGC1)\]\\u\[$($FGC2)\]@$PHN \[$($FGC3)\]\\w \[$(tput sgr0)\]\\n" ;; *) - PS1="\\# \[$(tput bold)\]\[$($FGC1)\]\t \[$($FGC2)\]\\u$UHSEP\[$($FGC3)\]$PHN \\w \[$(tput sgr0)\]\\n" + PS1="\[\\033[2m\\033[3m\]\\#\[\\033[0m\] \[$(tput bold)\]\[$($FGC1)\]\t \[$($FGC2)\]\\u$UHSEP\[$($FGC3)\]$PHN \\w \[$(tput sgr0)\]\\n" ;; esac # git-completion. Sources: |