mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 11:36:05 +01:00
nix-your-shell: Allow using nom for nix commands
This commit is contained in:
parent
cb68b5cd6a
commit
6ce2e18007
2 changed files with 36 additions and 19 deletions
|
|
@ -13,6 +13,7 @@
|
|||
enableFishIntegration = true;
|
||||
enableNushellIntegration = true;
|
||||
enableZshIntegration = true;
|
||||
nix-output-monitor.enable = true;
|
||||
};
|
||||
fish.enable = true;
|
||||
nushell.enable = true;
|
||||
|
|
@ -33,7 +34,7 @@
|
|||
assertFileExists home-files/.config/fish/config.fish
|
||||
assertFileRegex \
|
||||
home-files/.config/fish/config.fish \
|
||||
'/nix/store/[^/]*-nix-your-shell-[^/]*/bin/nix-your-shell fish | source'
|
||||
'/nix/store/[^/]*-nix-your-shell-[^/]*/bin/nix-your-shell --nom fish | source'
|
||||
|
||||
assertFileExists ${nushellConfigDir}/config.nu
|
||||
assertFileRegex \
|
||||
|
|
@ -43,6 +44,6 @@
|
|||
assertFileExists home-files/.zshrc
|
||||
assertFileRegex \
|
||||
home-files/.zshrc \
|
||||
'/nix/store/[^/]*-nix-your-shell-[^/]*/bin/nix-your-shell zsh | source /dev/stdin'
|
||||
'/nix/store/[^/]*-nix-your-shell-[^/]*/bin/nix-your-shell --nom zsh | source /dev/stdin'
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue