mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-21 00:08:29 +01:00
gnu: just: Enable zsh completion.
* gnu/packages/rust-apps.scm (just)[arguments]: Adjust custom 'install-extras phase to also generate and install zsh shell completions. Change-Id: Ia906b320b58c3a45e39f20c1ed4c3479f660c098
This commit is contained in:
parent
e1c787879a
commit
e53474d829
1 changed files with 4 additions and 5 deletions
|
@ -1345,11 +1345,10 @@ (define-public just
|
|||
(with-output-to-file
|
||||
(string-append bash-completions-dir "/just")
|
||||
(lambda _ (invoke just "--completions" "bash")))
|
||||
;; This seems to be broken currently
|
||||
;(mkdir-p zsh-completions-dir)
|
||||
;(with-output-to-file
|
||||
; (string-append zsh-completions-dir "/_just")
|
||||
; (lambda _ (invoke just "--completions" "zsh")))
|
||||
(mkdir-p zsh-completions-dir)
|
||||
(with-output-to-file
|
||||
(string-append zsh-completions-dir "/_just")
|
||||
(lambda _ (invoke just "--completions" "zsh")))
|
||||
(mkdir-p fish-completions-dir)
|
||||
(with-output-to-file
|
||||
(string-append fish-completions-dir "/just.fish")
|
||||
|
|
Loading…
Reference in a new issue