mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
wrapFish: fix early variable expansion
the bash script will retrieve the $var and cause the variable expand to empty add \ to prevent this, and let fish command to retrieve the variable
This commit is contained in:
parent
8652402ac5
commit
30d581b29d
@ -20,6 +20,6 @@ in writeShellScriptBin "fish" ''
|
||||
set --prepend fish_complete_path ${escapeShellArgs complPath}
|
||||
set --prepend fish_function_path ${escapeShellArgs funcPath}
|
||||
set --local fish_conf_source_path ${escapeShellArgs confPath}
|
||||
for c in $fish_conf_source_path/*; source $c; end
|
||||
for c in \$fish_conf_source_path/*; source \$c; end
|
||||
" "$@"
|
||||
'')
|
||||
|
Loading…
Reference in New Issue
Block a user