Permalink
Browse files

Silence 'expr' output

  • Loading branch information...
rking authored and rking@sharpsaw.org committed Jan 24, 2013
1 parent 5e526ea commit b55c987af71c19fa2c706f721433a4e97a23b887
Showing with 1 addition and 1 deletion.
  1. +1 −1 .sh/keys_console-caps==ctrl
@@ -1,4 +1,4 @@
#!/bin/sh
-if [ -z "$I_LOVE_CAPS_LOCK" ] && expr "`tty`" : /dev/tty; then
+if [ -z "$I_LOVE_CAPS_LOCK" ] && expr "`tty`" : /dev/tty >/dev/null; then
,loadkeys
fi

0 comments on commit b55c987

Please sign in to comment.