From: Simon Ruderich Date: Tue, 24 Mar 2009 22:34:50 +0000 (+0100) Subject: zsh: Fix 62d757146f6bcf1f4951059769239db024144812. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=bfc1858331da7f787084292c2277a09f5467c53c;p=config%2Fdotfiles.git zsh: Fix 62d757146f6bcf1f4951059769239db024144812. --- diff --git a/zsh/rc b/zsh/rc index 1ae1ab8..278b660 100644 --- a/zsh/rc +++ b/zsh/rc @@ -182,7 +182,7 @@ if [[ $TERM == screen* || $TERM == xterm* ]]; then # Add an exclamation mark at the beginning if running with sudo. if [[ $program_sudo == yes ]]; then - program_sudo=!$program_sudo + program_name=!$program_name fi # Add an at mark at the beginning if running ssh on a different