From: Amand Tihon Date: Mon, 5 Apr 2010 16:36:51 +0000 (+0200) Subject: Hide qdbus errors X-Git-Url: https://git.alrj.org/?a=commitdiff_plain;h=e52beb78c4691289bbfdb79845f9f83f2e71256a;p=zsh.d.git Hide qdbus errors --- diff --git a/S61_konsoletabs b/S61_konsoletabs index e93f389..7bdace1 100644 --- a/S61_konsoletabs +++ b/S61_konsoletabs @@ -18,8 +18,8 @@ konsole-rename-path () { dcop ${KONSOLE_DCOP_SESSION} renameSession "$SDIR" elif [ -n "$KONSOLE_DBUS_SESSION" ] then - qdbus org.kde.konsole ${KONSOLE_DBUS_SESSION} setTitle 0 "$SDIR" > /dev/null - qdbus org.kde.konsole ${KONSOLE_DBUS_SESSION} setTitle 1 "$SDIR" > /dev/null + qdbus org.kde.konsole ${KONSOLE_DBUS_SESSION} setTitle 0 "$SDIR" > /dev/null 2>&1 + qdbus org.kde.konsole ${KONSOLE_DBUS_SESSION} setTitle 1 "$SDIR" > /dev/null 2>&1 fi fi } @@ -45,8 +45,8 @@ konsole-rename-cmd () { dcop ${KONSOLE_DCOP_SESSION} renameSession "$TXT" elif [ -n "$KONSOLE_DBUS_SESSION" ] then - qdbus org.kde.konsole ${KONSOLE_DBUS_SESSION} setTitle 0 "$TXT" > /dev/null - qdbus org.kde.konsole ${KONSOLE_DBUS_SESSION} setTitle 1 "$TXT" > /dev/null + qdbus org.kde.konsole ${KONSOLE_DBUS_SESSION} setTitle 0 "$TXT" > /dev/null 2>&1 + qdbus org.kde.konsole ${KONSOLE_DBUS_SESSION} setTitle 1 "$TXT" > /dev/null 2>&1 fi fi fi