# 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
# 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)'