summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kaufmann <astra@ionic.at>2012-02-11 13:26:28 +0100
committerDavid Kaufmann <astra@ionic.at>2012-02-11 13:26:28 +0100
commit733ff0a5b4521adc8aa4991297e97e6a71d8cd7e (patch)
tree2c01d0c2c6cbd0e2569c08b9216904d58dfa32ed
parent04ac662b0bc37f2e0e13464c1bd134290f54ac0b (diff)
downloadconfig-733ff0a5b4521adc8aa4991297e97e6a71d8cd7e.tar.gz
do not run transset-df if not installed on system
-rw-r--r--skel/.zshrc.local2
1 files changed, 1 insertions, 1 deletions
diff --git a/skel/.zshrc.local b/skel/.zshrc.local
index 7fe56dd..c010b32 100644
--- a/skel/.zshrc.local
+++ b/skel/.zshrc.local
@@ -82,4 +82,4 @@ eaiu() {
echo 'Done'
}
-[[ ! -z "$DISPLAY" ]] && [ -n "$WINDOWID" ] && transset-df -i $WINDOWID 0.9 >/dev/null || true
+[[ ! -z "$DISPLAY" ]] && [ -n "$WINDOWID" ] && type transset-df &>/dev/null && transset-df -i $WINDOWID 0.9 >/dev/null || true