fixed problem during ssh
This commit is contained in:
parent
0792d48b59
commit
7de57d2a67
1 changed files with 5 additions and 3 deletions
8
.zshrc
8
.zshrc
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue