summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMateusz Galazyn2021-09-26 19:04:29 +0200
committerMateusz Galazyn2021-09-26 19:04:29 +0200
commit02e9b104a448bc73e100460fda814387934543ac (patch)
tree05094755cf482fd5058643e0c47f21dc7ba5f61e
parent83502769ba6287bf258064292a51d45a034aab67 (diff)
downloadaur-02e9b104a448bc73e100460fda814387934543ac.tar.gz
Another patch fix for zimfw.zsh (thanks Rhinoceros)
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
-rw-r--r--zimfw.zsh.patch15
3 files changed, 12 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 75a215d29b9f..74f62e4f7b4d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = zsh-zim-git
pkgdesc = ZIM - Zsh IMproved
- pkgver = r569.35cd6f5
+ pkgver = r586.b1edcf3
pkgrel = 1
url = https://github.com/zimfw/zimfw
install = zim.install
@@ -22,7 +22,7 @@ pkgbase = zsh-zim-git
md5sums = SKIP
md5sums = SKIP
md5sums = 6e5ffd11ddfc72d74afb105829821f28
- md5sums = 65deeb0db560f14c98838f9bfa72d7c3
+ md5sums = 775a924bf0c8c86677d52e9389b2b408
md5sums = 0cb8764ba7f67c37c3c6452cc06751af
pkgname = zsh-zim-git
diff --git a/PKGBUILD b/PKGBUILD
index 5241cd4934e8..d75a716c8952 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Contributor: Mateusz Galazyn <carbolymer at gmail.com>
pkgrel=1
-pkgver=r569.35cd6f5
+pkgver=r586.b1edcf3
pkgname=zsh-zim-git
pkgdesc="ZIM - Zsh IMproved"
url="https://github.com/zimfw/zimfw"
@@ -18,7 +18,7 @@ source=('git://github.com/zimfw/zimfw.git'
md5sums=('SKIP'
'SKIP'
'6e5ffd11ddfc72d74afb105829821f28'
- '65deeb0db560f14c98838f9bfa72d7c3'
+ '775a924bf0c8c86677d52e9389b2b408'
'0cb8764ba7f67c37c3c6452cc06751af')
options=('!strip')
install='zim.install'
diff --git a/zimfw.zsh.patch b/zimfw.zsh.patch
index acf44a13c294..3c7ccc23496b 100644
--- a/zimfw.zsh.patch
+++ b/zimfw.zsh.patch
@@ -1,6 +1,6 @@
---- zimfw.zsh 2021-07-28 16:45:25.000000000 +1000
-+++ zimfw.zsh 2021-07-28 16:45:25.000000000 +1000
-@@ -52,26 +52,19 @@
+--- zimfw.zsh 2021-09-21 16:26:34.034179638 +1000
++++ zimfw.zsh 2021-09-21 16:30:58.546504098 +1000
+@@ -53,10 +53,6 @@
_zimfw_build_init() {
local -r ztarget=${ZIM_HOME}/init.zsh
@@ -10,9 +10,10 @@
- fi
_zimfw_mv =(
print -R "zimfw() { source ${ZIM_HOME}/zimfw.zsh \"\${@}\" }"
- if (( ${#_zfpaths} )) print -R 'fpath=('${_zfpaths:A}' ${fpath})'
- if (( ${#_zfunctions} )) print -R 'autoload -Uz '${_zfunctions}
- print -R ${(F)_zcmds}
+ print -R "zmodule() { source ${ZIM_HOME}/zimfw.zsh \"\${@}\" }"
+@@ -65,16 +61,13 @@
+ if (( ${#_zfunctions} )) print -R 'autoload -Uz '${_zfunctions#${~zpre}}
+ print -R ${(F)_zcmds#${~zpre}}
) ${ztarget}
+ chmod -R u+rX,g+rX,o+rX "${ZIM_HOME}" &>/dev/null
}
@@ -28,7 +29,7 @@
_zimfw_mv =(
print -Rn "() {
setopt LOCAL_OPTIONS CASE_GLOB EXTENDED_GLOB
-@@ -98,6 +91,7 @@
+@@ -101,6 +94,7 @@
} \"\${@}\"
"
) ${ztarget}