diff options
author | Alan Pearce | 2024-12-10 19:34:35 +0100 |
---|---|---|
committer | Alan Pearce | 2024-12-10 19:34:35 +0100 |
commit | 1958bbc20349e1081c62b4c099d25c553c6fc397 (patch) | |
tree | 4f59a3b975eedea0d5bd0cfb9c9a6ed147641a08 /user/settings | |
parent | c98dc89219bdd965b6fd3aeb31fd33335add2e3b (diff) | |
download | nixfiles-1958bbc20349e1081c62b4c099d25c553c6fc397.tar.lz nixfiles-1958bbc20349e1081c62b4c099d25c553c6fc397.tar.zst nixfiles-1958bbc20349e1081c62b4c099d25c553c6fc397.zip |
fish: use home-manager's nix-your-shell integration
Diffstat (limited to 'user/settings')
-rw-r--r-- | user/settings/fish.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/user/settings/fish.nix b/user/settings/fish.nix index 0f6bdcc6..480c9ade 100644 --- a/user/settings/fish.nix +++ b/user/settings/fish.nix @@ -31,9 +31,7 @@ }; } ]; - # TODO: pre-generate nix-your-shell interactiveShellInit = '' - ${pkgs.nix-your-shell}/bin/nix-your-shell --nom fish env | source bind \es __ghq_repository_search # don't bind ctrl-t, it does nice things on macOS/BSD set FZF_CTRL_T_COMMAND @@ -88,4 +86,8 @@ recursive = true; source = ./fish/functions; }; + + programs.nix-your-shell = { + enable = true; + }; } |