Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Skip loadkeys on Darwin

  • Loading branch information...
commit cda7b69eef8cd70578fbf349839d291cec2bd8df 1 parent 67ef3a9
@rking rking authored rkingpa@sharpsaw.org committed
Showing with 3 additions and 1 deletion.
  1. +3 −1 .sh/keys_console-caps==ctrl
View
4 .sh/keys_console-caps==ctrl
@@ -1,4 +1,6 @@
#!/bin/sh
-if [ -z "$I_LOVE_CAPS_LOCK" ] && expr "`tty`" : /dev/tty >/dev/null; then
+if [ -z "$I_LOVE_CAPS_LOCK" -a 'Linux' = "`uname`" ] &&
+ expr "`tty`" : /dev/tty >/dev/null
+then
,loadkeys
fi
Please sign in to comment.
Something went wrong with that request. Please try again.