mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 09:29:41 +08:00
git-worktree-switcher: use cfg.package
This commit is contained in:
committed by
Austin Horstman
parent
6ee8473173
commit
50375df1f7
@@ -14,11 +14,11 @@ let
|
||||
shell:
|
||||
if (shell == "fish") then
|
||||
''
|
||||
${lib.getExe pkgs.git-worktree-switcher} init ${shell} | source
|
||||
${lib.getExe cfg.package} init ${shell} | source
|
||||
''
|
||||
else
|
||||
''
|
||||
eval "$(${lib.getExe pkgs.git-worktree-switcher} init ${shell})"
|
||||
eval "$(${lib.getExe cfg.package} init ${shell})"
|
||||
'';
|
||||
in
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user