fixed problem during ssh

This commit is contained in:
Stefen Auris 2017-08-29 17:59:51 -04:00
parent 0792d48b59
commit 7de57d2a67

8
.zshrc
View file

@ -108,6 +108,8 @@ setopt mark_dirs
setopt path_dirs setopt path_dirs
#Set caps to escape when tapped and ctrl when held #Set caps to escape when tapped and ctrl when held
setxkbmap -option 'caps:ctrl_modifier' if [[ -n "$SSH_CLIENT" ]]
xcape -e 'Caps_Lock=Escape' then
setxkbmap -option 'caps:ctrl_modifier'
xcape -e 'Caps_Lock=Escape'
fi