From: Thomas Walker Lynch Date: Fri, 7 Nov 2025 12:05:59 +0000 (+0000) Subject: move incommon to front of path X-Git-Url: https://git.reasoningtechnology.com/style/static/git-logo.png?a=commitdiff_plain;h=17193f9de6e2294a792d5ad59840bd1b7da13b49;p=subu-incommon%2F.git move incommon to front of path --- diff --git a/library/bashrc b/library/bashrc index 35eefde..09ac0e4 100644 --- a/library/bashrc +++ b/library/bashrc @@ -3,16 +3,9 @@ # because in x11 bash_profile is not getting sourced, so I've # temporarily copied it here -incommon=/home/Thomas/subu_data/incommon/executable -if [[ ":$PATH:" != *":$incommon:"* ]]; then - export PATH="$incommon:$PATH" -fi -systemctl --user import-environment PATH - - # Localizations and editor preferences export EDITOR=emacs -export PS_FORMAT='user:15,group:15,pid,command' +export PS_FORMAT='user:25,group:25,pid,command' # Shell behaviors shopt -s histappend @@ -29,10 +22,8 @@ export PS2="$PPS2" # Aliases alias emacs='emacs --title="${USER} ${PROMPT_DECOR}:$ROLE ${MODE}"' alias pstree='pstree -lp' -alias printenv='printenv | awk '\''{gsub(/\n/, "\\n")}1'\'' | sort' alias ls='ls -a -h --time-style=long-iso' alias zzz="kill -STOP \$\$" -alias ps="ps -eo user:20,group:20,pid,command" # Visual tweaks — only if graphical session is available if [[ -n "$DISPLAY" ]] && command -v gsettings >/dev/null 2>&1; then @@ -46,6 +37,13 @@ if [[ "$user" == "Thomas-developer" ]]; then export REPO_DIR=$(home) fi +incommon=/home/Thomas/subu_data/incommon/executable +if [[ ":$PATH:" != *":$incommon:"* ]]; then + export PATH="$incommon:$PATH" +fi +systemctl --user import-environment PATH + + # export JAVA_HOME=/usr/lib/jvm/default-java # export ANDROID_HOME=$HOME/android-sdk