summarylogtreecommitdiffstats
path: root/0001-bashrc.patch
diff options
context:
space:
mode:
Diffstat (limited to '0001-bashrc.patch')
-rw-r--r--0001-bashrc.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/0001-bashrc.patch b/0001-bashrc.patch
new file mode 100644
index 000000000000..d92b7b023c22
--- /dev/null
+++ b/0001-bashrc.patch
@@ -0,0 +1,38 @@
+--- 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
+