blob: d92b7b023c22ab8426f6f27dbbcf0ce41054f7a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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
|