#!/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 export EDITOR=nvim; 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 export DBUS_SESSION_BUS_ADDRESS=unix:path=/var/run/user/$(id -u)/bus; ## Farbige man-pages export LESS_TERMCAP_mb=$(tput bold; tput setaf 2) # green export LESS_TERMCAP_md=$(tput bold; tput setaf 6) # cyan export LESS_TERMCAP_me=$(tput sgr0) export LESS_TERMCAP_so=$(tput bold; tput setaf 3; tput setab 0) # yellow on gray export LESS_TERMCAP_se=$(tput rmso; tput sgr0) export LESS_TERMCAP_us=$(tput smul; tput bold; tput setaf 7) # white export LESS_TERMCAP_ue=$(tput rmul; tput sgr0) export LESS_TERMCAP_mr=$(tput rev) export LESS_TERMCAP_mh=$(tput dim) export LESS_TERMCAP_ZN=$(tput ssubm) export LESS_TERMCAP_ZV=$(tput rsubm) export LESS_TERMCAP_ZO=$(tput ssupm) export LESS_TERMCAP_ZW=$(tput rsupm) export GROFF_NO_SGR=1 # For Konsole and Gnome-terminal