summaryrefslogtreecommitdiff
path: root/users/seth/shell/fish.nix
diff options
context:
space:
mode:
Diffstat (limited to 'users/seth/shell/fish.nix')
-rw-r--r--users/seth/shell/fish.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/users/seth/shell/fish.nix b/users/seth/shell/fish.nix
index e74155b..2afdf96 100644
--- a/users/seth/shell/fish.nix
+++ b/users/seth/shell/fish.nix
@@ -21,13 +21,11 @@ in
enable = true;
# TODO: do i still need this weird sourcing?
- interactiveShellInit = ''
+ interactiveShellInit = lib.optionalString config.seth.standalone.enable ''
set -l nixfile ${config.home.homeDirectory}/.nix-profile/etc/profile.d/nix.fish
if test -e $nixfile
source $nixfile
end
-
- ${lib.getExe pkgs.nix-your-shell} fish | source
'';
functions = {