diff --git a/bash/environment b/bash/environment index 402ba13..2b34d6b 100644 --- a/bash/environment +++ b/bash/environment @@ -1,5 +1,10 @@ #!/usr/bin/env bash +# Disable capslock +if [[ -x `which setxkbmap` ]]; then + setxkbmap -option ctrl:nocaps +fi + # don't put duplicate lines in the history. See bash(1) for more options # ... or force ignoredups and ignorespace HISTCONTROL=ignoredups:ignorespace