2015-08-28 18:17:08 +02:00
|
|
|
# Set PATH properly
|
|
|
|
PATH=$HOME/.local/bin:$HOME/.local/sbin:$HOME/.local/games:$HOME/.linuxbrew/bin:$HOME/.linuxbrew/sbin:$HOME/.linuxbrew/games:$HOME/bin:$HOME/sbin:$HOME/games:/usr/local/bin:/usr/local/sbin:/usr/local/games:/usr/bin:/usr/sbin:/usr/games:/bin:/sbin:/games:$PATH
|
|
|
|
|
|
|
|
# Add RubyGems to PATH
|
|
|
|
if hash ruby 2>/dev/null; then
|
|
|
|
PATH="$(ruby -e 'print Gem.user_dir')/bin:$PATH"
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Set compose to left Super/Windows, kill X with ctrl-alt-backspace,
|
|
|
|
# disable nbsp (still available with compose-space-space.
|
2015-04-10 17:36:06 +02:00
|
|
|
setxkbmap -option compose:lwin -option terminate:ctrl_alt_bksp -option nbsp:none
|
2015-08-28 18:17:08 +02:00
|
|
|
|
|
|
|
# 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]}')
|
|
|
|
|
|
|
|
# Start gpg-agent
|
|
|
|
eval $(gpg-agent --daemon)
|
|
|
|
|
|
|
|
# Enable core files.
|
|
|
|
ulimit -c unlimited
|
|
|
|
|
|
|
|
|
|
|
|
# The environment was set to ~/.environment according to other files...
|
|
|
|
if [ -f ~/.environment ]; then
|
|
|
|
. ~/.environment
|
|
|
|
fi
|