1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-24 02:39:48 +01:00

jujutsu: update for Jujutsu 0.8.0 (#4250)

This commit is contained in:
Masanori Ogino 2023-07-20 03:33:38 +09:00 committed by GitHub
parent 0841242b94
commit 44ba018437
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,16 +61,16 @@ in {
};
programs.bash.initExtra = mkIf cfg.enableBashIntegration ''
source <(${pkgs.jujutsu}/bin/jj debug completion)
source <(${pkgs.jujutsu}/bin/jj util completion)
'';
programs.zsh.initExtra = mkIf cfg.enableZshIntegration ''
source <(${pkgs.jujutsu}/bin/jj debug completion --zsh | sed '$d')
source <(${pkgs.jujutsu}/bin/jj util completion --zsh | sed '$d')
compdef _jj ${pkgs.jujutsu}/bin/jj
'';
programs.fish.interactiveShellInit = mkIf cfg.enableFishIntegration ''
${pkgs.jujutsu}/bin/jj debug completion --fish | source
${pkgs.jujutsu}/bin/jj util completion --fish | source
'';
};
}