diff --git a/rc/profile b/rc/profile index 180f5403..fc7d1cbd 100644 --- a/rc/profile +++ b/rc/profile @@ -7,8 +7,9 @@ if hash ruby 2>/dev/null; then fi # Set compose to menu, kill X with ctrl-alt-backspace, -# disable nbsp (still available with compose-space-space. -setxkbmap -option compose:menu -option terminate:ctrl_alt_bksp -option nbsp:none +# disable nbsp (still available with compose-space-space, +# make Caps Lock a backspace (Colemak) +setxkbmap -option compose:menu -option terminate:ctrl_alt_bksp -option nbsp:none -option caps:backspace # Removes duplicates from $PATH. Copied from http://unix.stackexchange.com/a/14896 PATH=$(echo "$PATH" | awk -v RS=':' -v ORS=":" '!a[$1]++{if (NR > 1) printf ORS; printf $a[$1]}')