shells/zsh-you-should-use: Add new port

Zsh-you-should-use reminds the user about the alias for a command
one just typed. Supports detection of global and git alias.

WWW:		https://github.com/MichaelAquilina/zsh-you-should-use

PR:		277051
This commit is contained in:
Son Phan Trung 2025-02-13 18:41:32 +01:00 committed by Lars Engels
parent 0ef06e4105
commit 39e216277c
5 changed files with 42 additions and 0 deletions

View file

@ -75,5 +75,6 @@
SUBDIR += zsh-fast-syntax-highlighting
SUBDIR += zsh-navigation-tools
SUBDIR += zsh-syntax-highlighting
SUBDIR += zsh-you-should-use
.include <bsd.port.subdir.mk>

View file

@ -0,0 +1,27 @@
PORTNAME= zsh-you-should-use
DISTVERSION= 1.7.3
CATEGORIES= shells
MAINTAINER= phantrungson17@gmail.com
COMMENT= ZSH plugin reminding you to use aliases for commands you typed
WWW= https://github.com/MichaelAquilina/zsh-you-should-use
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= zsh>=4.3:shells/zsh
USE_GITHUB= yes
GH_ACCOUNT= MichaelAquilina
NO_ARCH= yes
NO_BUILD= yes
SUB_FILES= pkg-message
PLIST_FILES= ${DATADIR}/you-should-use.plugin.zsh
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/you-should-use.plugin.zsh ${STAGEDIR}/${DATADIR}
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1707909230
SHA256 (MichaelAquilina-zsh-you-should-use-1.7.3_GH0.tar.gz) = db4486cd12974332ec858d446aff9393dae6be430d425a56d7036d2ce4edeb9e
SIZE (MichaelAquilina-zsh-you-should-use-1.7.3_GH0.tar.gz) = 106229

View file

@ -0,0 +1,9 @@
[
{ type: install
message: <<EOM
Add the line below to your .zshrc to enable auto suggestions.
source %%DATADIR%%/you-should-use.plugin.zsh
EOM
}
]

View file

@ -0,0 +1,2 @@
Zsh-you-should-use reminds the user about the alias for a command
one just typed. Supports detection of global and git alias.