mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
git-worktree-switcher: use cfg.package
This commit is contained in:
parent
6ee8473173
commit
50375df1f7
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue