label: write to /dev/tty to avoid redirections
diff --git a/bin/label b/bin/label
index 0426e35..ea454f2 100755
--- a/bin/label
+++ b/bin/label
@@ -10,7 +10,7 @@
 esac
 
 label() {
-	echo "$@" | $awk '{printf("\033];%s\007", $0);}'
+	echo "$@" | $awk '{printf("\033];%s\007", $0);}' >/dev/tty
 }
 
 label "$@"