From 02b232d498071d28333b531ef26f03a8caf4e3e7 Mon Sep 17 00:00:00 2001 From: sheldonmlee Date: Sat, 6 Mar 2021 22:04:06 +0800 Subject: [PATCH] Appended to /home/sheldonmlee/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl --- .bash_profile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.bash_profile b/.bash_profile index 9814928..d52adcd 100644 --- a/.bash_profile +++ b/.bash_profile @@ -4,6 +4,12 @@ [[ -f ~/.bashrc ]] && . ~/.bashrc +# set PATH so it includes user's private ~/.local/bin if it exists +if [ -d "$HOME/.local/bin" ] ; then + PATH="$HOME/.local/bin:$PATH" +fi + if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then exec startx fi +