Revert "home: bash nonlogin path fix test"
This reverts commit fe53bca5a6cd30d0e091f95e8f4d7bbd7c5a1c65. it didn't work
This commit is contained in:
parent
fe53bca5a6
commit
e9caab98f7
@ -45,13 +45,6 @@ in
|
||||
|
||||
programs.bash = {
|
||||
enable = lib.mkDefault true;
|
||||
bashrcExtra = ''
|
||||
#
|
||||
if ! [[ $- == *i* ]] && ! shopt -q login_shell && [[ -z "''${__NIXFILES_NOLOGIN_PATH:+x}" ]] ; then
|
||||
PATH="${config.home.profileDirectory}/bin''${PATH:+:''${PATH}}" && export PATH
|
||||
fi
|
||||
__NIXFILES_NOLOGIN_PATH=1 && export __NIXFILES_NOLOGIN_PATH
|
||||
'';
|
||||
initExtra = ''
|
||||
export HOME_MANAGER_MANAGED=true;
|
||||
[[ -e ~/dotfiles/shell/.bashrc ]] && . ~/dotfiles/shell/.bashrc ]]
|
||||
|
Loading…
x
Reference in New Issue
Block a user