aboutsummaryrefslogtreecommitdiff
path: root/.bash_profile
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2023-01-21 08:50:37 -0500
committertdro <tdro@users.noreply.github.com>2023-01-21 08:50:37 -0500
commit95056ea576d95029bcccad6c68294c1b57e417c4 (patch)
treea9769c06e00678cc15a6d4c3df2e047fdcb026e2 /.bash_profile
parent0dca716594ca542a7bedd0cd7037576ee4c72921 (diff)
downloaddotfiles-95056ea576d95029bcccad6c68294c1b57e417c4.tar.gz
dotfiles-95056ea576d95029bcccad6c68294c1b57e417c4.tar.bz2
dotfiles-95056ea576d95029bcccad6c68294c1b57e417c4.zip
.bash_profile: Enter at bottom
Diffstat (limited to '.bash_profile')
-rw-r--r--.bash_profile11
1 files changed, 5 insertions, 6 deletions
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