Update and adjust shells/ohmyzsh
- Update to 2020-07-22 - Add comments to the patches in files/ [1] - Use XDG cache directory if present [1] - Rewrite port description to have something more factual with a bit less of hype [1] PR: 247887 [1] Submitted by: fernape, mat [1]
This commit is contained in:
parent
d5fc115581
commit
29b0ff23a5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=542890
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= ohmyzsh
|
||||
PORTVERSION= 20200706
|
||||
PORTVERSION= 20200722
|
||||
CATEGORIES= shells
|
||||
|
||||
MAINTAINER= skozlov@FreeBSD.org
|
||||
@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
||||
RUN_DEPENDS= zsh:shells/zsh
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_TAGNAME= 1c58a746af7a67f311ee47f97285a855eaf18b5e
|
||||
GH_TAGNAME= db3d05f
|
||||
|
||||
NO_ARCH= yes
|
||||
NO_BUILD= yes
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1594050806
|
||||
SHA256 (ohmyzsh-ohmyzsh-20200706-1c58a746af7a67f311ee47f97285a855eaf18b5e_GH0.tar.gz) = cc9ce90a0543798715aa972c898d8ef017e131937d28271c9e053fc9360290c1
|
||||
SIZE (ohmyzsh-ohmyzsh-20200706-1c58a746af7a67f311ee47f97285a855eaf18b5e_GH0.tar.gz) = 648364
|
||||
TIMESTAMP = 1595444062
|
||||
SHA256 (ohmyzsh-ohmyzsh-20200722-db3d05f_GH0.tar.gz) = 0991e6576d4253565db47ad27453a61cad52dca69a3b06a6cfe142fa46528ce2
|
||||
SIZE (ohmyzsh-ohmyzsh-20200722-db3d05f_GH0.tar.gz) = 648935
|
||||
|
@ -1,8 +1,11 @@
|
||||
--- oh-my-zsh.sh.orig 2020-07-06 15:31:40 UTC
|
||||
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
|
||||
@@ -1,12 +1,7 @@
|
||||
@@ -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/
|
||||
+# or else we will use the default .cache/
|
||||
if [[ -z "$ZSH_CACHE_DIR" ]]; then
|
||||
- ZSH_CACHE_DIR="$ZSH/cache"
|
||||
-fi
|
||||
@ -10,7 +13,8 @@
|
||||
-# Check for updates on initial load...
|
||||
-if [ "$DISABLE_AUTO_UPDATE" != "true" ]; then
|
||||
- source $ZSH/tools/check_for_upgrade.sh
|
||||
+ ZSH_CACHE_DIR="$HOME/.oh-my-zsh/cache"
|
||||
+ ZSH_CACHE_DIR="${XDG_CACHE_HOME:-$HOME/.cache}/oh-my-zsh"
|
||||
+ mkdir -p ${ZSH_CACHE_DIR}
|
||||
fi
|
||||
|
||||
# Initializes Oh My Zsh
|
||||
|
@ -1,3 +1,5 @@
|
||||
Correct installation path
|
||||
Disable auto update bits
|
||||
--- templates/zshrc.zsh-template.orig 2020-07-06 15:31:40 UTC
|
||||
+++ templates/zshrc.zsh-template
|
||||
@@ -2,7 +2,7 @@
|
||||
|
@ -8,9 +8,6 @@ cp ~/.zshrc ~/.zshrc.orig
|
||||
|
||||
2. Create a new zsh configuration file
|
||||
cp %%DATADIR%%/templates/zshrc.zsh-template ~/.zshrc
|
||||
|
||||
3. Create Oh My Zsh cache directory
|
||||
mkdir -p ~/.oh-my-zsh/cache
|
||||
EOM
|
||||
}
|
||||
]
|
||||
|
@ -1,17 +1,11 @@
|
||||
Oh My Zsh is an open source, community-driven framework for managing your zsh
|
||||
configuration.
|
||||
|
||||
It provides plugins for things like ansible, bazel, git, tmux, etc. It is fully
|
||||
customizable and provides dozens of different themes.
|
||||
|
||||
Sounds boring. Let's try again.
|
||||
|
||||
Oh My Zsh will not make you a 10x developer...but you may feel like one.
|
||||
|
||||
Once installed, your terminal shell will become the talk of the town or your
|
||||
money back! With each keystroke in your command prompt, you'll take advantage of
|
||||
the hundreds of powerful plugins and beautiful themes. Strangers will come up to
|
||||
you in cafes and ask yo, "that is amazing! are you some sort of genis?"
|
||||
|
||||
Finally, you'll begin to get the sort of attention that you have always felt you
|
||||
deserved. ...or maybe you'll use the time that you're saving to start flossing
|
||||
more often.
|
||||
|
||||
WWW: https://ohmyz.sh/
|
||||
|
@ -307,6 +307,7 @@
|
||||
%%DATADIR%%/plugins/homestead/homestead.plugin.zsh
|
||||
%%DATADIR%%/plugins/httpie/README.md
|
||||
%%DATADIR%%/plugins/httpie/_httpie
|
||||
%%DATADIR%%/plugins/httpie/httpie.plugin.zsh
|
||||
%%DATADIR%%/plugins/ionic/README.md
|
||||
%%DATADIR%%/plugins/ionic/ionic.plugin.zsh
|
||||
%%DATADIR%%/plugins/iterm2/README.md
|
||||
|
Loading…
Reference in New Issue
Block a user