diff --git a/zshrc b/zshrc index af2a90c..85828b8 100644 --- a/zshrc +++ b/zshrc @@ -8,8 +8,13 @@ autoload -U promptinit promptinit prompt grb +# Linux specific config if [[ $platform == 'Linux' ]]; then zstyle :compinstall filename `$HOME/.zshrc` + # Set caps to ctrl + setxkbmap -option 'caps:ctrl_modifier' + # Make caps act as Esc when tapped. Require `xcape` package. + xcape -e 'Caps_Lock=Escape' fi autoload -Uz compinit