[arch-commits] Commit in zsh-syntax-highlighting/trunk (ChangeLog PKGBUILD)

Evgeniy Alekseev arcanis at archlinux.org
Fri Sep 30 12:58:59 UTC 2016


    Date: Friday, September 30, 2016 @ 12:58:58
  Author: arcanis
Revision: 191083

upgpkg: zsh-syntax-highlighting 0.4.1-2
add workaround for oh-my-zsh plugin loading

Modified:
  zsh-syntax-highlighting/trunk/ChangeLog
  zsh-syntax-highlighting/trunk/PKGBUILD

-----------+
 ChangeLog |    3 +++
 PKGBUILD  |    5 ++++-
 2 files changed, 7 insertions(+), 1 deletion(-)

Modified: ChangeLog
===================================================================
--- ChangeLog	2016-09-30 12:53:58 UTC (rev 191082)
+++ ChangeLog	2016-09-30 12:58:58 UTC (rev 191083)
@@ -1,3 +1,6 @@
+0.4.1-2:
+add workaround for oh-my-zsh (see https://github.com/zsh-users/zsh-syntax-highlighting/issues/270)
+
 0.4.1-1:
 upstream update
 

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-09-30 12:53:58 UTC (rev 191082)
+++ PKGBUILD	2016-09-30 12:58:58 UTC (rev 191083)
@@ -4,7 +4,7 @@
 
 pkgname=zsh-syntax-highlighting
 pkgver=0.4.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Fish shell like syntax highlighting for Zsh"
 arch=('any')
 url="https://github.com/zsh-users/zsh-syntax-highlighting"
@@ -23,6 +23,9 @@
 package() {
   cd "zsh-users-zsh-syntax-highlighting-"*
   make PREFIX="/usr" SHARE_DIR="${pkgdir}/usr/share/zsh/plugins/${pkgname}" DESTDIR="${pkgdir}" install
+  # create symlink for using with oh-my-zsh
+  ln -s "zsh-syntax-highlighting.zsh" \
+        "${pkgdir}/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.plugin.zsh"
 
   # licence
   install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"



More information about the arch-commits mailing list