Browse Source

Fix wonky prompt

merge-requests/1/merge
lhark 10 years ago
parent
commit
e761efa6bb
  1. 4
      zshrc

4
zshrc

@ -6,7 +6,7 @@
# et depuis http://zsh.sourceforge.net/Guide/zshguide.html # et depuis http://zsh.sourceforge.net/Guide/zshguide.html
# utilisation de https://github.com/zsh-users/zsh-syntax-highlighting # utilisation de https://github.com/zsh-users/zsh-syntax-highlighting
# adapté par lhark # adapté et amélioré par lhark
# Ajout de */sbin au PATH (pour ifconfig en particulier) # Ajout de */sbin au PATH (pour ifconfig en particulier)
@ -277,7 +277,7 @@ setopt promptsubst
PROMPT="%{$reset_color%} PROMPT="%{$reset_color%}
" "
PROMPT+="%{%K{${bkg}%}"'$_USERNAME' PROMPT+="%{%K{${bkg}}%}"'$_USERNAME'
PROMPT+="%{$fg_bold[blue]%}@" PROMPT+="%{$fg_bold[blue]%}@"
PROMPT+="%{$fg_bold[$couleur_hote]%}"'%m' PROMPT+="%{$fg_bold[$couleur_hote]%}"'%m'
PROMPT+=" %{$reset_color%K{${bkg}}%}" PROMPT+=" %{$reset_color%K{${bkg}}%}"

Loading…
Cancel
Save