FIX: Add sh-z (z for zsh)
Signed-off-by: Collin J. Doering <collin@rekahsoft.ca>
This commit is contained in:
parent
dbad33d40c
commit
09d0a4c77b
|
@ -174,6 +174,42 @@ files, command history, processes, hostnames, bookmarks, git commits, etc..")
|
||||||
(home-page "https://github.com/junegunn/fzf")
|
(home-page "https://github.com/junegunn/fzf")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public sh-z
|
||||||
|
(package
|
||||||
|
(name "sh-z")
|
||||||
|
(version "1.11")
|
||||||
|
(source (origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/rupa/z.git")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"13zbgkj6y0qhvn5jpkrqbd4jjxjr789k228iwma5hjfh1nx7ghyb"))))
|
||||||
|
(build-system gnu-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:tests? #f ; No tests provided
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(delete 'configure)
|
||||||
|
(delete 'build)
|
||||||
|
(replace 'install
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
|
(man (string-append out "/share/man/man1"))
|
||||||
|
(bin (string-append out "/bin")))
|
||||||
|
(install-file "z.sh" bin)
|
||||||
|
(chmod (string-append bin "/z.sh") #o755)
|
||||||
|
(install-file "z.1" man)))))))
|
||||||
|
(synopsis "Jump about directories")
|
||||||
|
(description
|
||||||
|
"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.")
|
||||||
|
(home-page "https://github.com/rupa/z")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public spaceship-prompt
|
(define-public spaceship-prompt
|
||||||
(package
|
(package
|
||||||
(name "spaceship-prompt")
|
(name "spaceship-prompt")
|
||||||
|
|
Loading…
Reference in New Issue