X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=0a61570888ecede0597839ba318383ebe64c541e;hb=03ec73ccb21f701a03ef49167e354386c07ea05a;hp=21db9e76300642d692d778e6d4e7a80d9134e65a;hpb=ffe57c8786bf71c015d948eff4253089725b9f8e;p=grml-etc-core.git diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 21db9e7..0a61570 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -2269,6 +2269,7 @@ grml_theme_add_token: Token `%s'\'' exists! Giving up!\n\n' $name return 2 fi if (( init )); then + REPLY='' $token $name token=$REPLY fi @@ -2314,6 +2315,7 @@ function grml_prompt_addto () { zstyle -s ":prompt:${grmltheme}:${lr}:items:$it" token new \ || new=${grml_prompt_token_default[$it]} if (( ${+grml_prompt_token_function[$it]} )); then + REPLY='' ${grml_prompt_token_function[$it]} $it else case $it in