commit 0c28e5a426db99fb87267a4629d4750c3093312e parent bff7de83d2ae8543933ff80a5126b070ea54d56c Author: Chris Bracken <chris@bracken.jp> Date: Tue, 2 Sep 2014 12:33:03 -0700 Skip setxkbmap on OS X Diffstat:
M | .profile | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.profile b/.profile @@ -23,7 +23,7 @@ if [ -n "$BASH_VERSION" ]; then fi # Remap caps lock to ctrl -if [ -n "$DISPLAY" ] && [ -x "`which setxkbmap`" ]; then +if [ $(uname) != "Darwin" ] && [ -n "$DISPLAY" ] && [ -x "`which setxkbmap`" ]; then setxkbmap -option ctrl:nocaps fi