summaryrefslogtreecommitdiff
path: root/users/seth/shell
diff options
context:
space:
mode:
Diffstat (limited to 'users/seth/shell')
-rw-r--r--users/seth/shell/fish.nix4
-rw-r--r--users/seth/shell/zsh.nix2
2 files changed, 1 insertions, 5 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 = {
diff --git a/users/seth/shell/zsh.nix b/users/seth/shell/zsh.nix
index 0983f15..0d98b7e 100644
--- a/users/seth/shell/zsh.nix
+++ b/users/seth/shell/zsh.nix
@@ -43,8 +43,6 @@ in
promptinit
colors
- ${lib.getExe pkgs.nix-your-shell} zsh | source /dev/stdin
-
zmodload zsh/zutil
zmodload zsh/complist
zstyle ":completion::*" group-name ""