Zsh-syntax-highlighting enables highlighing of commands whilst they

are typed at an interactive zsh prompt. This helps in reviewing
commands before running them, particularly in catching syntax errors.

WWW: https://github.com/zsh-users/zsh-syntax-highlighting

PR:		208369
Submitted by:	jrm@ftfl.ca
This commit is contained in:
Wen Heping 2016-04-06 03:23:41 +00:00
parent 038270279c
commit 1ddd353e16
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=412597
6 changed files with 58 additions and 0 deletions

View File

@ -1713,6 +1713,7 @@
SUBDIR += yould
SUBDIR += zenxml
SUBDIR += zorba
SUBDIR += zsh-syntax-highlighting
SUBDIR += zu-aspell
SUBDIR += zu-hunspell

View File

@ -0,0 +1,21 @@
# $FreeBSD$
PORTNAME= zsh-syntax-highlighting
PORTVERSION= 20160338
CATEGORIES= textproc
MAINTAINER= jrm@ftfl.ca
COMMENT= Fish shell like syntax highlighting for Zsh
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING.md
RUN_DEPENDS= ${LOCALBASE}/bin/zsh:shells/zsh
USE_GITHUB= yes
GH_ACCOUNT= zsh-users
GH_TAGNAME= bc7f8ea
SUB_FILES= pkg-message
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (zsh-users-zsh-syntax-highlighting-20160338-bc7f8ea_GH0.tar.gz) = 5d5540d67e98c1167005736849cbd0cf45330a67f8979c23f78fafc53f8e2996
SIZE (zsh-users-zsh-syntax-highlighting-20160338-bc7f8ea_GH0.tar.gz) = 54361

View File

@ -0,0 +1,9 @@
================================================================================
Zsh-syntax-highlighting requires zsh 4.3.17+.
Add the line below to *the end of* your .zshrc to enable hightlighting.
source %%DATADIR%%/zsh-syntax-highlighting.zsh
DATADIR is usually %%PREFIX%%/share/zsh-syntax-highlighting.
================================================================================

View File

@ -0,0 +1,5 @@
Zsh-syntax-highlighting enables highlighing of commands whilst they
are typed at an interactive zsh prompt. This helps in reviewing
commands before running them, particularly in catching syntax errors.
WWW: https://github.com/zsh-users/zsh-syntax-highlighting

View File

@ -0,0 +1,20 @@
%%PORTDOCS%%%%DOCSDIR%%/COPYING.md
%%PORTDOCS%%%%DOCSDIR%%/README.md
%%PORTDOCS%%%%DOCSDIR%%/all.md
%%PORTDOCS%%%%DOCSDIR%%/changelog.md
%%PORTDOCS%%%%DOCSDIR%%/highlighters.md
%%PORTDOCS%%%%DOCSDIR%%/highlighters/brackets.md
%%PORTDOCS%%%%DOCSDIR%%/highlighters/cursor.md
%%PORTDOCS%%%%DOCSDIR%%/highlighters/line.md
%%PORTDOCS%%%%DOCSDIR%%/highlighters/main.md
%%PORTDOCS%%%%DOCSDIR%%/highlighters/pattern.md
%%PORTDOCS%%%%DOCSDIR%%/highlighters/root.md
%%DATADIR%%/.revision-hash
%%DATADIR%%/.version
%%DATADIR%%/highlighters/brackets/brackets-highlighter.zsh
%%DATADIR%%/highlighters/cursor/cursor-highlighter.zsh
%%DATADIR%%/highlighters/line/line-highlighter.zsh
%%DATADIR%%/highlighters/main/main-highlighter.zsh
%%DATADIR%%/highlighters/pattern/pattern-highlighter.zsh
%%DATADIR%%/highlighters/root/root-highlighter.zsh
%%DATADIR%%/zsh-syntax-highlighting.zsh