Partially revert f7fbf35109

That was just too evil, especially as the line has moved to my i3wm
config where nothing else I have tried works.
This commit is contained in:
Aminda Suomalainen 2019-02-04 20:33:31 +02:00
parent 32a8a8c119
commit 0afc716ccf
No known key found for this signature in database
GPG Key ID: 0C207F07B2F32B67
2 changed files with 4 additions and 7 deletions

View File

@ -1,7 +1,6 @@
# Map compose to left menu and kill x with ctrl alt backspace and # Map compose to left menu and kill x with ctrl alt backspace and
# disable unbreakable space, male alt+shift change layout and # disable unbreakable space
# layouts Finnish, Czech Qwerty and Esperanto. setxkbmap -option compose:menu -option terminate:ctrl_alt_bksp -option nbsp:none
setxkbmap -option compose:menu -option terminate:ctrl_alt_bksp -option nbsp:none -option 'grp:alt_shift_toggle' -layout fi,cz,epo -variant ,qwerty,
# Set TZ as the current timezone. This is supposed to be sent over SSH. # Set TZ as the current timezone. This is supposed to be sent over SSH.
TZ=$(date +%Z) TZ=$(date +%Z)

View File

@ -7,10 +7,8 @@ if hash ruby 2>/dev/null; then
fi fi
# Set compose to menu, kill X with ctrl-alt-backspace, # Set compose to menu, kill X with ctrl-alt-backspace,
# disable nbsp (still available with compose-space-space, # disable nbsp (still available with compose-space-space)
# make alt+shift toggle layout and specify layouts setxkbmap -option compose:menu -option terminate:ctrl_alt_bksp -option nbsp:none
# as Finnish, Czech Qwerty and Esperanto.
setxkbmap -option compose:menu -option terminate:ctrl_alt_bksp -option nbsp:none -option 'grp:alt_shift_toggle' -layout fi,cz,epo -variant ,qwerty,
# Removes duplicates from $PATH. Copied from http://unix.stackexchange.com/a/14896 # 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]}') PATH=$(echo "$PATH" | awk -v RS=':' -v ORS=":" '!a[$1]++{if (NR > 1) printf ORS; printf $a[$1]}')