]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
zsh: Fix 62d757146f6bcf1f4951059769239db024144812.
authorSimon Ruderich <simon@ruderich.org>
Tue, 24 Mar 2009 22:34:50 +0000 (23:34 +0100)
committerSimon Ruderich <simon@ruderich.org>
Tue, 24 Mar 2009 22:34:50 +0000 (23:34 +0100)
zsh/rc

diff --git a/zsh/rc b/zsh/rc
index 1ae1ab87837cb7978fc3c604142118ee3f8b0923..278b66003dc58ed3217bd509787bd6612bc2136a 100644 (file)
--- 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