Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Apr 2019 14:51:53 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r499445 - in head/sysutils: . z z/files
Message-ID:  <201904201451.x3KEprSO007806@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Sat Apr 20 14:51:53 2019
New Revision: 499445
URL: https://svnweb.freebsd.org/changeset/ports/499445

Log:
  Add sysutils/z
  
  It's sortof like fzf meets cd
  
  z tracks your most used directories, based on 'frecency'.
  
  After  a  short  learning  phase, z will take you to the most 'frecent'
  directory that matches ALL of the regexes given on the command line, in
  order.
  
  For example, z foo bar would match /foo/bar but not /bar/foo. Because
  they're regexes, z f b would take you to /foo/bar as well.
  
  z is designed for use only with zsh and bash.
  
  WWW: https://github.com/rupa/z/

Added:
  head/sysutils/z/
  head/sysutils/z/Makefile   (contents, props changed)
  head/sysutils/z/distinfo   (contents, props changed)
  head/sysutils/z/files/
  head/sysutils/z/files/pkg-message.in   (contents, props changed)
  head/sysutils/z/pkg-descr   (contents, props changed)
Modified:
  head/sysutils/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Sat Apr 20 14:38:20 2019	(r499444)
+++ head/sysutils/Makefile	Sat Apr 20 14:51:53 2019	(r499445)
@@ -1521,6 +1521,7 @@
     SUBDIR += xvidcap
     SUBDIR += yadm
     SUBDIR += yank
+    SUBDIR += z
     SUBDIR += zap
     SUBDIR += zbackup
     SUBDIR += zeitgeist

Added: head/sysutils/z/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/z/Makefile	Sat Apr 20 14:51:53 2019	(r499445)
@@ -0,0 +1,28 @@
+# Created by: Adam Weinberger <adamw@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	z
+PORTVERSION=	1.11
+DISTVERSIONPREFIX=	v
+CATEGORIES=	sysutils
+
+MAINTAINER=	adamw@FreeBSD.org
+COMMENT=	Takes you to your most used directories, based on "frecency"
+
+LICENSE=	WTFPL
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	rupa
+
+NO_BUILD=	yes
+NO_ARCH=	yes
+SUB_FILES=	pkg-message
+PLIST_FILES=	${DATADIR_REL}/z.sh \
+		man/man1/z.1.gz
+
+do-install:
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_SCRIPT} ${WRKSRC}/z.sh ${STAGEDIR}${DATADIR}
+	${INSTALL_MAN} ${WRKSRC}/z.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+
+.include <bsd.port.mk>

Added: head/sysutils/z/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/z/distinfo	Sat Apr 20 14:51:53 2019	(r499445)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1555771303
+SHA256 (rupa-z-v1.11_GH0.tar.gz) = 873761c2eaf283c526b87ef272c8c35f70e94ea079fbbc985ba32070638ff963
+SIZE (rupa-z-v1.11_GH0.tar.gz) = 5999

Added: head/sysutils/z/files/pkg-message.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/z/files/pkg-message.in	Sat Apr 20 14:51:53 2019	(r499445)
@@ -0,0 +1,3 @@
+To use z, put this command in your .zshrc/.bashrc:
+
+  . %%DATADIR%%/z.sh

Added: head/sysutils/z/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/z/pkg-descr	Sat Apr 20 14:51:53 2019	(r499445)
@@ -0,0 +1,12 @@
+z tracks your most used directories, based on 'frecency'.
+
+After  a  short  learning  phase, z will take you to the most 'frecent'
+directory that matches ALL of the regexes given on the command line, in
+order.
+
+For example, z foo bar would match /foo/bar but not /bar/foo. Because
+they're regexes, z f b would take you to /foo/bar as well.
+
+z is designed for use only with zsh and bash.
+
+WWW: https://github.com/rupa/z/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904201451.x3KEprSO007806>