FreeBSD Bugzilla – Attachment 248458 Details for
Bug 277050
[NEW PORT] shells/zsh-fast-syntax-highlighting: Optimized and extended zsh-syntax-highlighting
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
the patch file for the plugin
0001-feat-add-shells-zsh-fast-syntax-highlighting.patch (text/plain), 6.34 KB, created by
Son Phan Trung
on 2024-02-14 13:14:29 UTC
(
hide
)
Description:
the patch file for the plugin
Filename:
MIME Type:
Creator:
Son Phan Trung
Created:
2024-02-14 13:14:29 UTC
Size:
6.34 KB
patch
obsolete
>From 85f0bb8abda27ab6d752414dc3d5577fd97ec9ba Mon Sep 17 00:00:00 2001 >From: Son Phan Trung <phantrungson17@gmail.com> >Date: Wed, 14 Feb 2024 20:09:02 +0700 >Subject: [PATCH] feat: add shells/zsh-fast-syntax-highlighting > >adds a zsh plugin which is an upgrade of the existing >zsh-syntax-highlighting >--- > shells/zsh-fast-syntax-highlighting/Makefile | 28 ++++++ > shells/zsh-fast-syntax-highlighting/distinfo | 3 + > .../files/pkg-message.in | 9 ++ > shells/zsh-fast-syntax-highlighting/pkg-descr | 5 + > shells/zsh-fast-syntax-highlighting/pkg-plist | 91 +++++++++++++++++++ > 5 files changed, 136 insertions(+) > create mode 100644 shells/zsh-fast-syntax-highlighting/Makefile > create mode 100644 shells/zsh-fast-syntax-highlighting/distinfo > create mode 100644 shells/zsh-fast-syntax-highlighting/files/pkg-message.in > create mode 100644 shells/zsh-fast-syntax-highlighting/pkg-descr > create mode 100644 shells/zsh-fast-syntax-highlighting/pkg-plist > >diff --git a/shells/zsh-fast-syntax-highlighting/Makefile b/shells/zsh-fast-syntax-highlighting/Makefile >new file mode 100644 >index 0000000..accfc18 >--- /dev/null >+++ b/shells/zsh-fast-syntax-highlighting/Makefile >@@ -0,0 +1,28 @@ >+PORTNAME= zsh-fast-syntax-highlighting >+DISTVERSIONPREFIX= v >+DISTVERSION= 1.55 >+CATEGORIES= shells >+ >+MAINTAINER= phantrungson17@gmail.com >+COMMENT= Optimized and extended zsh-syntax-highlighting >+WWW= https://github.com/zdharma-continuum/fast-syntax-highlighting >+ >+LICENSE= BSD3CLAUSE >+LICENSE_FILE= ${WRKSRC}/LICENSE >+ >+RUN_DEPENDS= zsh>=5.4:shells/zsh >+ >+USE_GITHUB= yes >+GH_ACCOUNT= zdharma-continuum >+GH_PROJECT= fast-syntax-highlighting >+ >+NO_ARCH= yes >+NO_BUILD= yes >+ >+SUB_FILES= pkg-message >+ >+do-install: >+ @${MKDIR} ${STAGEDIR}${DATADIR} >+ cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} "! -path \./\.* ! -name *\.bak ! -name *\.orig" >+ >+.include <bsd.port.mk> >diff --git a/shells/zsh-fast-syntax-highlighting/distinfo b/shells/zsh-fast-syntax-highlighting/distinfo >new file mode 100644 >index 0000000..be66e17 >--- /dev/null >+++ b/shells/zsh-fast-syntax-highlighting/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1707906686 >+SHA256 (zdharma-continuum-fast-syntax-highlighting-v1.55_GH0.tar.gz) = d06cea9c047ce46ad09ffd01a8489a849fc65b8b6310bd08f8bcec9d6f81a898 >+SIZE (zdharma-continuum-fast-syntax-highlighting-v1.55_GH0.tar.gz) = 615290 >diff --git a/shells/zsh-fast-syntax-highlighting/files/pkg-message.in b/shells/zsh-fast-syntax-highlighting/files/pkg-message.in >new file mode 100644 >index 0000000..da4b6b7 >--- /dev/null >+++ b/shells/zsh-fast-syntax-highlighting/files/pkg-message.in >@@ -0,0 +1,9 @@ >+[ >+{ type: install >+ message: <<EOM >+Add the line below to *the end of* your .zshrc to enable highlighting. >+ >+source %%DATADIR%%/fast-syntax-highlighting-plugin.zsh >+EOM >+} >+] >diff --git a/shells/zsh-fast-syntax-highlighting/pkg-descr b/shells/zsh-fast-syntax-highlighting/pkg-descr >new file mode 100644 >index 0000000..6c7145b >--- /dev/null >+++ b/shells/zsh-fast-syntax-highlighting/pkg-descr >@@ -0,0 +1,5 @@ >+Zsh-fast-syntax-highlighting enables highlighting of commands whilst they >+are typed at an interactive zsh prompt. This helps in reviewing >+commands before running them, particularly in catching syntax errors. >+Compared to zsh-syntax-highlighting, this package is more optimized >+and feature-rich. >diff --git a/shells/zsh-fast-syntax-highlighting/pkg-plist b/shells/zsh-fast-syntax-highlighting/pkg-plist >new file mode 100644 >index 0000000..ff18ec5 >--- /dev/null >+++ b/shells/zsh-fast-syntax-highlighting/pkg-plist >@@ -0,0 +1,91 @@ >+%%DATADIR%%/-fast-make-targets >+%%DATADIR%%/-fast-run-command >+%%DATADIR%%/-fast-run-git-command >+%%DATADIR%%/-fast-zts-read-all >+%%DATADIR%%/:chroma/-alias.ch >+%%DATADIR%%/:chroma/-autoload.ch >+%%DATADIR%%/:chroma/-autorandr.ch >+%%DATADIR%%/:chroma/-awk.ch >+%%DATADIR%%/:chroma/-docker.ch >+%%DATADIR%%/:chroma/-example.ch >+%%DATADIR%%/:chroma/-fast-theme.ch >+%%DATADIR%%/:chroma/-fpath_peq.ch >+%%DATADIR%%/:chroma/-git.ch >+%%DATADIR%%/:chroma/-grep.ch >+%%DATADIR%%/:chroma/-hub.ch >+%%DATADIR%%/:chroma/-ionice.ch >+%%DATADIR%%/:chroma/-lab.ch >+%%DATADIR%%/:chroma/-make.ch >+%%DATADIR%%/:chroma/-nice.ch >+%%DATADIR%%/:chroma/-nmcli.ch >+%%DATADIR%%/:chroma/-node.ch >+%%DATADIR%%/:chroma/-ogit.ch >+%%DATADIR%%/:chroma/-perl.ch >+%%DATADIR%%/:chroma/-precommand.ch >+%%DATADIR%%/:chroma/-printf.ch >+%%DATADIR%%/:chroma/-ruby.ch >+%%DATADIR%%/:chroma/-scp.ch >+%%DATADIR%%/:chroma/-sh.ch >+%%DATADIR%%/:chroma/-source.ch >+%%DATADIR%%/:chroma/-ssh.ch >+%%DATADIR%%/:chroma/-subcommand.ch >+%%DATADIR%%/:chroma/-subversion.ch >+%%DATADIR%%/:chroma/-vim.ch >+%%DATADIR%%/:chroma/-whatis.ch >+%%DATADIR%%/:chroma/-which.ch >+%%DATADIR%%/:chroma/-zplugin.ch >+%%DATADIR%%/:chroma/main-chroma.ch >+%%DATADIR%%/CHANGELOG.md >+%%DATADIR%%/CHROMA_GUIDE.adoc >+%%DATADIR%%/DONATIONS.md >+%%DATADIR%%/LICENSE >+%%DATADIR%%/README.md >+%%DATADIR%%/THEME_GUIDE.md >+%%DATADIR%%/_fast-theme >+%%DATADIR%%/fast-highlight >+%%DATADIR%%/fast-read-ini-file >+%%DATADIR%%/fast-string-highlight >+%%DATADIR%%/fast-syntax-highlighting.plugin.zsh >+%%DATADIR%%/fast-theme >+%%DATADIR%%/images/203654.gif >+%%DATADIR%%/images/array-assign.png >+%%DATADIR%%/images/assign.png >+%%DATADIR%%/images/brackets.gif >+%%DATADIR%%/images/cmdsubst.png >+%%DATADIR%%/images/cplx_cond.png >+%%DATADIR%%/images/eval_cmp.png >+%%DATADIR%%/images/execfd.png >+%%DATADIR%%/images/execfd_cmp.png >+%%DATADIR%%/images/for-loop-cmp.png >+%%DATADIR%%/images/for-loop.png >+%%DATADIR%%/images/function.png >+%%DATADIR%%/images/git_chroma.png >+%%DATADIR%%/images/global-alias.png >+%%DATADIR%%/images/heredoc.png >+%%DATADIR%%/images/herestring.png >+%%DATADIR%%/images/highlight-less.png >+%%DATADIR%%/images/highlight-much.png >+%%DATADIR%%/images/ideal-string.png >+%%DATADIR%%/images/in_string.png >+%%DATADIR%%/images/math.gif >+%%DATADIR%%/images/parameter.png >+%%DATADIR%%/images/theme.png >+%%DATADIR%%/images/typeset.png >+%%DATADIR%%/images/zcalc.png >+%%DATADIR%%/test/parse.zsh >+%%DATADIR%%/test/to-parse.zsh >+%%DATADIR%%/tests/_output/.gitkeep >+%%DATADIR%%/tests/_support/.gitkeep >+%%DATADIR%%/tests/_support/bootstrap >+%%DATADIR%%/tests/example.zunit >+%%DATADIR%%/tests/main.zunit >+%%DATADIR%%/themes/clean.ini >+%%DATADIR%%/themes/default.ini >+%%DATADIR%%/themes/forest.ini >+%%DATADIR%%/themes/free.ini >+%%DATADIR%%/themes/q-jmnemonic.ini >+%%DATADIR%%/themes/safari.ini >+%%DATADIR%%/themes/spa.ini >+%%DATADIR%%/themes/sv-orple.ini >+%%DATADIR%%/themes/sv-plant.ini >+%%DATADIR%%/themes/zdharma.ini >-- >2.43.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 277050
: 248458