mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
carapace: fix nushell PATH env var (#6936)
`carapace _carapace nushell` adds `/homeless-shelter/.config/carapace/bin` to PATH, this changes it to ` $HOME/.config/carapace/bin`. Other shells don't have this problem as they run the command and source on startup whereas Nix writes the command output to a file as part of the build.
This commit is contained in:
parent
84d262115e
commit
ca39b34829
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ in
|
|||
extraConfig = ''
|
||||
source ${
|
||||
pkgs.runCommand "carapace-nushell-config.nu" { } ''
|
||||
${bin} _carapace nushell >> "$out"
|
||||
${bin} _carapace nushell | sed 's|"/homeless-shelter|$"($env.HOME)|g' >> "$out"
|
||||
''
|
||||
}
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue