summary refs log tree commit diff stats
path: root/user/settings/development
diff options
context:
space:
mode:
authorAlan Pearce2023-08-22 19:10:12 +0200
committerAlan Pearce2023-08-22 19:10:12 +0200
commitf8f5398d96b34adb178b9b73ee8228e78eddd329 (patch)
tree5f64f2d37ada0e7e96a74f35b91b13b7dc626171 /user/settings/development
parent4a22fe0cf6b7c54d67dbf7c45d82fb8d7f330bbf (diff)
downloadnixfiles-f8f5398d96b34adb178b9b73ee8228e78eddd329.tar.lz
nixfiles-f8f5398d96b34adb178b9b73ee8228e78eddd329.tar.zst
nixfiles-f8f5398d96b34adb178b9b73ee8228e78eddd329.zip
Remove zsh config
Diffstat (limited to 'user/settings/development')
-rw-r--r--user/settings/development/base.nix6
-rw-r--r--user/settings/development/javascript.nix1
2 files changed, 3 insertions, 4 deletions
diff --git a/user/settings/development/base.nix b/user/settings/development/base.nix
index f619324f..d8628f0f 100644
--- a/user/settings/development/base.nix
+++ b/user/settings/development/base.nix
@@ -4,8 +4,8 @@
 , ...
 }:
 let
-  direnvHook = pkgs.runCommandLocal "direnv_hook" { } ''
-    ${pkgs.direnv}/bin/direnv hook zsh > $out
+  direnvHook = pkgs.runCommandLocal "direnv_hook_fish" { } ''
+    ${pkgs.direnv}/bin/direnv hook fish > $out
   '';
 in
 {
@@ -59,7 +59,7 @@ in
       enable = true;
     };
   };
-  programs.zsh.initExtra = ''
+  programs.fish.shellInit = ''
     source ${direnvHook}
   '';
   xdg.configFile."direnv/direnvrc".text = ''
diff --git a/user/settings/development/javascript.nix b/user/settings/development/javascript.nix
index b06f5abd..4e6722f9 100644
--- a/user/settings/development/javascript.nix
+++ b/user/settings/development/javascript.nix
@@ -123,7 +123,6 @@ in
     prefix=''${HOME}/.local
     cache=${config.xdg.cacheHome}/npm/
     store-dir=${config.xdg.cacheHome}/pnpm/
-    script-shell=${pkgs.zsh}/bin/zsh
     always-auth=true
     sign-git-tag=true
     rebuild-bundle=false