-xhost +local:root > /dev/null 2>&1
-
shopt -s cdspell
shopt -s checkwinsize
shopt -s cmdhist
shopt -s hostcomplete
# shopt -s nocaseglob # never! lost a file cause of this shit
+export HISTFILE=$XDG_CACHE_HOME/bash_history
export HISTSIZE=10000
export HISTFILESIZE=${HISTSIZE}
export HISTCONTROL=ignoreboth
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
# Alias definitions.
-[[ -f ~/.bash_aliases ]] && . ~/.bash_aliases
+[[ -f $XDG_CONFIG_HOME/aliases ]] && . $XDG_CONFIG_HOME/aliases
# set PATH so it includes user's private bin if it exists
[[ -d "$HOME/bin" ]] && PATH="$HOME/bin:$PATH"
-
-# import host specific bashrc
-[[ -e ~/.bashrc_$(hostname) ]] && . ~/.bashrc_$(hostname)