fixed problem during ssh
This commit is contained in:
parent
0792d48b59
commit
7de57d2a67
1 changed files with 5 additions and 3 deletions
4
.zshrc
4
.zshrc
|
@ -108,6 +108,8 @@ setopt mark_dirs
|
|||
setopt path_dirs
|
||||
|
||||
#Set caps to escape when tapped and ctrl when held
|
||||
if [[ -n "$SSH_CLIENT" ]]
|
||||
then
|
||||
setxkbmap -option 'caps:ctrl_modifier'
|
||||
xcape -e 'Caps_Lock=Escape'
|
||||
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue