core: enable direnv in bash

This commit is contained in:
Timothy DeHerrera 2020-08-02 13:28:41 -06:00
parent 39c1a48674
commit 60ae677683
No known key found for this signature in database
GPG key ID: 8985725DB5B0C122
2 changed files with 9 additions and 4 deletions

View file

@ -15,6 +15,7 @@ in
binutils
coreutils
curl
direnv
dnsutils
dosfstools
fd
@ -122,9 +123,14 @@ in
};
programs.bash.promptInit = ''
programs.bash = {
promptInit = ''
eval "$(${pkgs.starship}/bin/starship init bash)"
'';
shellInit = ''
eval "$(${pkgs.direnv}/bin/direnv hook bash)"
'';
};
security = {

View file

@ -46,7 +46,6 @@ in
systemPackages = with pkgs; [
bat
bzip2
direnv
exa
gitAndTools.hub
gzip