diff --git a/global-home.nix b/global-home.nix index a5a025d4..f13f5396 100644 --- a/global-home.nix +++ b/global-home.nix @@ -314,9 +314,6 @@ fi # Dotnet path not found fix DOTNET_ROOT = "${pkgs.dotnet-sdk}"; - - # Nicer terminal prompt - PS1="\[\e[0;36m\]\u\[\e[0m\]@\[\e[0;33m\]\h\[\e[0m\]:\[\e[0;35m\]\w\[\e[0m\] \$ "; }; programs.bash = { @@ -325,6 +322,8 @@ fi # bashrcExtra = "fastfetch"; initExtra = '' . "$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh" + # Nicer terminal prompt + export PS1="\[\e[0;36m\]\u\[\e[0m\]@\[\e[0;33m\]\h\[\e[0m\]:\[\e[0;35m\]\w\[\e[0m\] \$ "; eval "$(zoxide init bash --cmd builtin-z)" # Initialise zoxide as terminal command builtin-z ([[ -z $(tty) ]] && nvim +terminal) || fastfetch '';