home-manager/common: Fix flake-src
function
This commit is contained in:
parent
fcad909111
commit
5bb7985883
@ -125,7 +125,7 @@ in
|
|||||||
fish_greeting = ":";
|
fish_greeting = ":";
|
||||||
flake-src = {
|
flake-src = {
|
||||||
description = "cd into a flake reference's source directory";
|
description = "cd into a flake reference's source directory";
|
||||||
body = ''cd (nix eval $argv[2..] --impure --raw --expr "builtins.getFlake $argv[1]")'';
|
body = ''cd (nix eval $argv[2..] --impure --raw --expr "builtins.getFlake \"$argv[1]\"")'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
shellAbbrs = {
|
shellAbbrs = {
|
||||||
|
Loading…
Reference in New Issue
Block a user