commit ae9a22e8d0d21d8392b75acb5d0b091a01da2885
parent b501a3d99b7bb85df09eb9e73baac24bcdef4e09
Author: Vincent Demeester <vincent@sbr.pm>
Date: Fri, 24 Aug 2018 18:19:48 +0200
Add shellInit with direnv hook
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/fish.nix b/fish.nix
@@ -8,6 +8,9 @@
gb = "git b";
};
shellAliases = import ./aliases.nix;
+ shellInit = ''
+ eval (${pkgs.direnv}/bin/direnv hook fish)
+ '';
};
xdg.configFile."fish/conf.d/nix-aliases.fish".source = ./fish/nix-aliases.fish;
xdg.configFile."fish/conf.d/sudope.fish".source = ./fish/sudope.fish;