2024-10-31 22:09:39 +01:00
|
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
|
|
# PATH
|
|
|
|
|
which ruby >/dev/null 2>&1 && PATH="$(ruby -e 'print Gem.user_dir')/bin:$PATH"
|
|
|
|
|
export PATH=~/.local/bin:~/.bin:$PATH
|
|
|
|
|
|
|
|
|
|
# Make vim the default editor
|
2024-11-02 13:54:41 +01:00
|
|
|
|
export EDITOR=nvim;
|
2024-10-31 22:09:39 +01:00
|
|
|
|
|
|
|
|
|
export HISTSIZE=50000000;
|
|
|
|
|
export HISTFILESIZE=$HISTSIZE;
|
|
|
|
|
export HISTCONTROL=ignoredups;
|
|
|
|
|
export HISTIGNORE=" *:ls:cd:pwd:exit:[bf]g:clear:reset:mplayer *";
|
|
|
|
|
|
|
|
|
|
# Deutsches System aber englische Messages und Sortierung
|
|
|
|
|
# aber nur wenn die locale gesetzt werden kann
|
|
|
|
|
if [ -x /usr/bin/locale ]
|
|
|
|
|
then
|
|
|
|
|
export LC_MESSAGES="C"
|
|
|
|
|
export LC_COLLATE="C"
|
|
|
|
|
export LANG="de_DE.UTF-8"
|
|
|
|
|
export LC_CTYPE="de_DE.UTF-8"
|
|
|
|
|
export LC_NUMERIC="de_DE.UTF-8"
|
|
|
|
|
export LC_TIME="de_DE.UTF-8"
|
|
|
|
|
export LC_MONETARY="de_DE.UTF-8"
|
|
|
|
|
export LC_PAPER="de_DE.UTF-8"
|
|
|
|
|
export LC_NAME="de_DE.UTF-8"
|
|
|
|
|
export LC_ADDRESS="de_DE.UTF-8"
|
|
|
|
|
export LC_TELEPHONE="de_DE.UTF-8"
|
|
|
|
|
export LC_MEASUREMENT="de_DE.UTF-8"
|
|
|
|
|
export LC_IDENTIFICATION="de_DE.UTF-8"
|
|
|
|
|
unset LC_ALL
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
# Highlight section titles in manual pages
|
|
|
|
|
export LESS_TERMCAP_md="${yellow}";
|
|
|
|
|
|
|
|
|
|
# Don’t clear the screen after quitting a manual page
|
|
|
|
|
export MANPAGER="less -X";
|
|
|
|
|
|
|
|
|
|
export DBUS_SESSION_BUS_ADDRESS=unix:path=/var/run/user/$(id -u)/bus;
|