Skip to content

Commit

Permalink
shells/ohmyzsh: Update to 20210930
Browse files Browse the repository at this point in the history
  • Loading branch information
Serhii (Sergey) Kozlov authored and Serhii (Sergey) Kozlov committed Oct 1, 2021
1 parent 85f9420 commit 981392d
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 24 deletions.
4 changes: 2 additions & 2 deletions shells/ohmyzsh/Makefile
@@ -1,7 +1,7 @@
# Created by: Serhii (Sergey) Kozlov <skozlov@FreeBSD.org>

PORTNAME= ohmyzsh
PORTVERSION= 20210820
PORTVERSION= 20210930
CATEGORIES= shells

MAINTAINER= skozlov@FreeBSD.org
Expand All @@ -13,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= zsh:shells/zsh

USE_GITHUB= yes
GH_TAGNAME= 6d5b8484ce7198161d5f617c3db9fd7d3833d48c
GH_TAGNAME= 3c209b00d69499db93fb6aac5c79a6179ff6b855

NO_ARCH= yes
NO_BUILD= yes
Expand Down
6 changes: 3 additions & 3 deletions shells/ohmyzsh/distinfo
@@ -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
23 changes: 9 additions & 14 deletions shells/ohmyzsh/files/patch-oh-my-zsh.sh
@@ -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
9 changes: 4 additions & 5 deletions shells/ohmyzsh/pkg-plist
Expand Up @@ -87,7 +87,7 @@
%%DATADIR%%/plugins/capistrano/_capistrano
%%DATADIR%%/plugins/capistrano/capistrano.plugin.zsh
%%DATADIR%%/plugins/cargo/README.md
%%DATADIR%%/plugins/cargo/_cargo
%%DATADIR%%/plugins/cargo/cargo.plugin.zsh
%%DATADIR%%/plugins/cask/README.md
%%DATADIR%%/plugins/cask/cask.plugin.zsh
%%DATADIR%%/plugins/catimg/README.md
Expand Down Expand Up @@ -140,7 +140,6 @@
%%DATADIR%%/plugins/dash/dash.plugin.zsh
%%DATADIR%%/plugins/debian/README.md
%%DATADIR%%/plugins/debian/debian.plugin.zsh
%%DATADIR%%/plugins/deno/.gitignore
%%DATADIR%%/plugins/deno/README.md
%%DATADIR%%/plugins/deno/deno.plugin.zsh
%%DATADIR%%/plugins/dircycle/README.md
Expand Down Expand Up @@ -221,7 +220,6 @@
%%DATADIR%%/plugins/flutter/README.md
%%DATADIR%%/plugins/flutter/_flutter
%%DATADIR%%/plugins/flutter/flutter.plugin.zsh
%%DATADIR%%/plugins/fnm/.gitignore
%%DATADIR%%/plugins/fnm/README.md
%%DATADIR%%/plugins/fnm/fnm.plugin.zsh
%%DATADIR%%/plugins/forklift/README.md
Expand Down Expand Up @@ -252,7 +250,6 @@
%%DATADIR%%/plugins/genpass/genpass-monkey
%%DATADIR%%/plugins/genpass/genpass-xkcd
%%DATADIR%%/plugins/genpass/genpass.plugin.zsh
%%DATADIR%%/plugins/gh/.gitignore
%%DATADIR%%/plugins/gh/README.md
%%DATADIR%%/plugins/gh/gh.plugin.zsh
%%DATADIR%%/plugins/git-auto-fetch/README.md
Expand Down Expand Up @@ -359,6 +356,8 @@
%%DATADIR%%/plugins/jruby/jruby.plugin.zsh
%%DATADIR%%/plugins/jsontools/README.md
%%DATADIR%%/plugins/jsontools/jsontools.plugin.zsh
%%DATADIR%%/plugins/juju/README.md
%%DATADIR%%/plugins/juju/juju.plugin.zsh
%%DATADIR%%/plugins/jump/README.md
%%DATADIR%%/plugins/jump/jump.plugin.zsh
%%DATADIR%%/plugins/kate/README.md
Expand Down Expand Up @@ -544,7 +543,7 @@
%%DATADIR%%/plugins/rust/README.md
%%DATADIR%%/plugins/rust/_rust
%%DATADIR%%/plugins/rustup/README.md
%%DATADIR%%/plugins/rustup/_rustup
%%DATADIR%%/plugins/rustup/rustup.plugin.zsh
%%DATADIR%%/plugins/rvm/README.md
%%DATADIR%%/plugins/rvm/rvm.plugin.zsh
%%DATADIR%%/plugins/safe-paste/README.md
Expand Down

0 comments on commit 981392d

Please sign in to comment.