--- a/bashrc +++ b/bashrc @@ -1,5 +1,5 @@ # Path to your oh-my-bash installation. -export OSH=$HOME/.oh-my-bash +OSH=/usr/share/oh-my-bash # Set name of the theme to load. Optionally, if you set this to "random" # it'll load a random theme each time that oh-my-bash is loaded. @@ -13,7 +13,7 @@ # HYPHEN_INSENSITIVE="true" # Uncomment the following line to disable bi-weekly auto-update checks. -# DISABLE_AUTO_UPDATE="true" +DISABLE_AUTO_UPDATE="true" # Uncomment the following line to change how often to auto-update (in days). # export UPDATE_OSH_DAYS=13 @@ -70,7 +70,7 @@ bashmarks ) -source $OSH/oh-my-bash.sh + # User configuration # export MANPATH="/usr/local/man:$MANPATH" @@ -99,3 +99,9 @@ # Example aliases # alias bashconfig="mate ~/.bashrc" # alias ohmybash="mate ~/.oh-my-bash" + +BASH_CACHE_DIR=$HOME/.cache/oh-my-bash +if [[ ! -d $BASH_CACHE_DIR ]]; then + mkdir $BASH_CACHE_DIR +fi +source $OSH/oh-my-bash.sh