X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=zsh%2Frc;h=733921fe0c6e6affa59b7e7b384c9e1115ce2605;hb=667550d3424b726d074c65289c23160268576bc8;hp=0cd67562b456e7bd8a0a1a23dd58fed5d36a2ac3;hpb=a4888cfff67d077a8e153b367544adcf9f78eaa7;p=config%2Fdotfiles.git diff --git a/zsh/rc b/zsh/rc index 0cd6756..733921f 100644 --- a/zsh/rc +++ b/zsh/rc @@ -370,7 +370,7 @@ if [[ $TERM == screen* || $TERM == xterm* || $TERM == rxvt* ]]; then # Replace fg with the resumed job name. if [[ $program_name == fg ]]; then program_name=${jobtexts[%+]} - elif [[ $program_name == fg* ]]; then + elif [[ $program_name == fg\ * ]]; then program_name=${jobtexts[${program_name#fg }]} fi @@ -541,7 +541,7 @@ zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS} # is no longer displayed. Display current position in percent (%p). zstyle ':completion:*:default' list-prompt '%p' # Display group name (%d) (like 'external command', 'alias', etc.), in bold. -# Also display a message if _approximate found errors and if no matches were +# Also display a message if _approximate found errors and no matches were # found. zstyle ':completion:*' format ' %B%d%b:' zstyle ':completion:*:corrections' format ' %B%d%b (errors: %e)'