]> git.alrj.org Git - zsh.d.git/blobdiff - S50_aliases
Tabs renaming for konsole/kde4
[zsh.d.git] / S50_aliases
index a42c3f7dbd3ba0643c9b3f37cdb2de29f84e18ea..6e825dc30a784f9206757035088731ac87c4404a 100644 (file)
@@ -55,7 +55,7 @@ alias scr='screen -rd'
 
 # Konsole tab renaming. Courtesy of Sebastian Kuegler
 # http://vizzzion.org/?blogentry=737
-if [ "$KONSOLE_DCOP_SESSION" ]
+if [ -n "$KONSOLE_DCOP_SESSION" -o -n "$KONSOLE_DBUS_SESSION" ]
 then
     if [ `/usr/bin/whoami` != 'root' ]
     then