X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=zsh%2Frc;h=d10736edaacf5c6be9490e8ca3a364e0a8332946;hb=84d4c17e1e81a81a9ff8194227d41a8031f9a368;hp=0cd67562b456e7bd8a0a1a23dd58fed5d36a2ac3;hpb=a4888cfff67d077a8e153b367544adcf9f78eaa7;p=config%2Fdotfiles.git diff --git a/zsh/rc b/zsh/rc index 0cd6756..d10736e 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