Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Serhii (Sergey) Kozlov
authored and
Serhii (Sergey) Kozlov
committed
Oct 1, 2021
1 parent
85f9420
commit 981392d
Showing
4 changed files
with
18 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
TIMESTAMP = 1629582231 | ||
SHA256 (ohmyzsh-ohmyzsh-20210820-6d5b8484ce7198161d5f617c3db9fd7d3833d48c_GH0.tar.gz) = 36dcd5fbd5f5f990ea69bb53c68d92464e7d0edaf6feeabc2b40b544e3a82e93 | ||
SIZE (ohmyzsh-ohmyzsh-20210820-6d5b8484ce7198161d5f617c3db9fd7d3833d48c_GH0.tar.gz) = 734221 | ||
TIMESTAMP = 1633131318 | ||
SHA256 (ohmyzsh-ohmyzsh-20210930-3c209b00d69499db93fb6aac5c79a6179ff6b855_GH0.tar.gz) = 6e2f1260c29fb4117d7e1ff23f0a3dc13b67f79908d27cde5348f76f0156cdb6 | ||
SIZE (ohmyzsh-ohmyzsh-20210930-3c209b00d69499db93fb6aac5c79a6179ff6b855_GH0.tar.gz) = 734974 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,15 @@ | ||
Disable auto update | ||
Respect XDG cache directory if present. | ||
--- oh-my-zsh.sh.orig 2020-07-18 17:06:08 UTC | ||
--- oh-my-zsh.sh.orig 2021-10-01 23:40:04 UTC | ||
+++ oh-my-zsh.sh | ||
@@ -1,12 +1,8 @@ | ||
# Set ZSH_CACHE_DIR to the path where cache files should be created | ||
-# or else we will use the default cache/ | ||
+# or else we will use the default .cache/ | ||
if [[ -z "$ZSH_CACHE_DIR" ]]; then | ||
- ZSH_CACHE_DIR="$ZSH/cache" | ||
-fi | ||
- | ||
@@ -24,11 +24,6 @@ fi | ||
mkdir -p "$ZSH_CACHE_DIR/completions" | ||
(( ${fpath[(Ie)"$ZSH_CACHE_DIR/completions"]} )) || fpath=("$ZSH_CACHE_DIR/completions" $fpath) | ||
|
||
-# Check for updates on initial load... | ||
-if [ "$DISABLE_AUTO_UPDATE" != "true" ]; then | ||
- source $ZSH/tools/check_for_upgrade.sh | ||
+ ZSH_CACHE_DIR="${XDG_CACHE_HOME:-$HOME/.cache}/oh-my-zsh" | ||
+ mkdir -p ${ZSH_CACHE_DIR} | ||
fi | ||
|
||
-fi | ||
- | ||
# Initializes Oh My Zsh | ||
|
||
# add a function path |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters