From 95056ea576d95029bcccad6c68294c1b57e417c4 Mon Sep 17 00:00:00 2001 From: tdro Date: Sat, 21 Jan 2023 08:50:37 -0500 Subject: .bash_profile: Enter at bottom --- .bash_profile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to '.bash_profile') diff --git a/.bash_profile b/.bash_profile index 795bd03..33d4e7f 100644 --- a/.bash_profile +++ b/.bash_profile @@ -13,12 +13,6 @@ prefixPath "$HOME/.local/bin" prefixPath "$HOME/.local/bin/scripts" prefixPath "$HOME/.local/bin/wrappers" -# auto login -[ "$EUID" != 0 ] && [ -z "$DISPLAY" ] && [ "$(tty)" = '/dev/tty1' ] \ - && command -v nix && nix-xorg-conf > "$HOME"/.config/X11/xorg.conf.d/00-modules.conf \ - && { [ "$(systemctl --user is-enabled redshift)" = "enabled" ] && systemctl --user restart redshift & } \ - && exec sx - umask 0022 PS1_USER='$(E=$? && [ "$E" = 0 ] || echo "$E ")\[\e[0;34m\]\W\[\e[0m\] \[\e[0;34m\]\$\[\e[0m\] ' @@ -87,3 +81,8 @@ export FZF_DEFAULT_OPTS="\ --color=marker:109,spinner:236,header:255" [ -z "$BASH_PROFILE" ] && . "$HOME/.bashrc" + +[ "$EUID" != 0 ] && [ -z "$DISPLAY" ] && [ "$(tty)" = '/dev/tty1' ] \ + && command -v nix && nix-xorg-conf > "$HOME"/.config/X11/xorg.conf.d/00-modules.conf \ + && { [ "$(systemctl --user is-enabled redshift)" = "enabled" ] && systemctl --user restart redshift & } \ + && exec sx -- cgit v1.2.3