Skip to content

Commit

Permalink
/ rc: path: ~/bin/ should be in the non-interactive path
Browse files Browse the repository at this point in the history
in 70d1c56 we added /usr/local/ bins to the non-interactive path

here we complete that by doing it also for the homedir bin.  otherwise
we have to make special arrangements when we ssh in and want to utilize
the scripts in bin/ indirectly (such as git <script> will fail unless
PATH is set right)

we didn't add ~/.local/bin/ because that will be going away and we will
use symlinks.  do not want to have one bin per language.  still thinking
about this, however...
  • Loading branch information
smemsh committed Sep 2, 2024
1 parent 8447e07 commit 31967ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ histchars='!^#' # see ~/upsrc/bash/bash-history-bug and ~/.bash/init.d/goto
((BASH_VERSINFO >= 3)) || return 3
cd ~/.bash || return 4

export PATH=/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin
export PATH=$HOME/bin:/usr/local/bin:/usr/local/sbin
export PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin
export LANG=en_US.UTF-8

sources=(
Expand Down

0 comments on commit 31967ab

Please sign in to comment.