jujutsu: fix zsh completion (#4305)

This commit is contained in:
Matt Moriarity 2023-08-04 03:19:57 -06:00 committed by GitHub
parent 86dd48d70a
commit a4f4508791
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,7 +65,7 @@ in {
''; '';
programs.zsh.initExtra = mkIf cfg.enableZshIntegration '' programs.zsh.initExtra = mkIf cfg.enableZshIntegration ''
source <(${pkgs.jujutsu}/bin/jj util completion --zsh | sed '$d') source <(${pkgs.jujutsu}/bin/jj util completion --zsh)
compdef _jj ${pkgs.jujutsu}/bin/jj compdef _jj ${pkgs.jujutsu}/bin/jj
''; '';