forked from Lainports/freebsd-ports
shells/zsh-fast-syntax-highlighting: Optimized and extended zsh-syntax-highlighting
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. WWW: https://github.com/zdharma-continuum/fast-syntax-highlighting
This commit is contained in:
parent
f2964897c2
commit
5bf71a6189
6 changed files with 137 additions and 0 deletions
|
|
@ -72,6 +72,7 @@
|
|||
SUBDIR += zsh-antigen
|
||||
SUBDIR += zsh-autosuggestions
|
||||
SUBDIR += zsh-completions
|
||||
SUBDIR += zsh-fast-syntax-highlighting
|
||||
SUBDIR += zsh-navigation-tools
|
||||
SUBDIR += zsh-syntax-highlighting
|
||||
|
||||
|
|
|
|||
28
shells/zsh-fast-syntax-highlighting/Makefile
Normal file
28
shells/zsh-fast-syntax-highlighting/Makefile
Normal file
|
|
@ -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>
|
||||
3
shells/zsh-fast-syntax-highlighting/distinfo
Normal file
3
shells/zsh-fast-syntax-highlighting/distinfo
Normal file
|
|
@ -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
|
||||
9
shells/zsh-fast-syntax-highlighting/files/pkg-message.in
Normal file
9
shells/zsh-fast-syntax-highlighting/files/pkg-message.in
Normal file
|
|
@ -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
|
||||
}
|
||||
]
|
||||
5
shells/zsh-fast-syntax-highlighting/pkg-descr
Normal file
5
shells/zsh-fast-syntax-highlighting/pkg-descr
Normal file
|
|
@ -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.
|
||||
91
shells/zsh-fast-syntax-highlighting/pkg-plist
Normal file
91
shells/zsh-fast-syntax-highlighting/pkg-plist
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Reference in a new issue