core: enable direnv in bash
This commit is contained in:
parent
39c1a48674
commit
60ae677683
2 changed files with 9 additions and 4 deletions
|
@ -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 = {
|
||||
|
||||
|
|
|
@ -46,7 +46,6 @@ in
|
|||
systemPackages = with pkgs; [
|
||||
bat
|
||||
bzip2
|
||||
direnv
|
||||
exa
|
||||
gitAndTools.hub
|
||||
gzip
|
||||
|
|
Loading…
Reference in a new issue