X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=eb1767eeeed4c39b5f262eb27e4d2d2e8fd4c162;hb=06a39dc69b644a1f757481e3af31e8c1025a88ea;hp=e475070f74c55d4431f8a85adb5c3f4761544f9a;hpb=2e1c62bb3c88eba84567cc34b5c565fc6e0d0ee9;p=grml-etc-core.git diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index e475070..eb1767e 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -1342,9 +1342,11 @@ function bind2maps () { if (( ${+terminfo[smkx]} )) && (( ${+terminfo[rmkx]} )); then function zle-smkx () { + emulate -L zsh printf '%s' ${terminfo[smkx]} } function zle-rmkx () { + emulate -L zsh printf '%s' ${terminfo[rmkx]} } function zle-line-init () { @@ -2157,7 +2159,7 @@ if is437; then unset i zstyle ':prompt:grml(|-large|-chroot):right:setup' use-rprompt false elif (( EUID == 0 )); then - zstyle ':prompt:grml(|-large|-chroot):*:items:user' pre '%F{red}' + zstyle ':prompt:grml(|-large|-chroot):*:items:user' pre '%B%F{red}' fi # Finally enable one of the prompts.