]> git.rmz.io Git - dotfiles.git/blobdiff - bashrc
bash: cleanup bash files
[dotfiles.git] / bashrc
diff --git a/bashrc b/bashrc
index 3ee743be77949b694edfb124b6710305d0094de1..3d4527ab8135a7ab9e72cc8aafc7bff8f67fb6cf 100644 (file)
--- a/bashrc
+++ b/bashrc
@@ -1,5 +1,3 @@
-xhost +local:root > /dev/null 2>&1
-
 shopt -s cdspell
 shopt -s checkwinsize
 shopt -s cmdhist
@@ -10,6 +8,7 @@ shopt -s histappend
 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
@@ -55,6 +54,3 @@ PS1='[\u@\h \W]\$ '
 
 # 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)