mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +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:
|
shell:
|
||||||
if (shell == "fish") then
|
if (shell == "fish") then
|
||||||
''
|
''
|
||||||
${lib.getExe pkgs.git-worktree-switcher} init ${shell} | source
|
${lib.getExe cfg.package} init ${shell} | source
|
||||||
''
|
''
|
||||||
else
|
else
|
||||||
''
|
''
|
||||||
eval "$(${lib.getExe pkgs.git-worktree-switcher} init ${shell})"
|
eval "$(${lib.getExe cfg.package} init ${shell})"
|
||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user