moved the generation of local environment variables to its own generator script
This commit is contained in:
parent
fa32f1be82
commit
ef6d56b2a8
4 changed files with 25 additions and 17 deletions
|
@ -1,8 +1 @@
|
|||
# Make sure we include this file only once
|
||||
if [ -z $LOCAL_BIN_ALREADY_SET ];
|
||||
then
|
||||
export LOCAL_BIN_ALREADY_SET=1
|
||||
# set PATH so it includes user's private bin if it exists
|
||||
[ -d "$HOME/.local/bin" ] && PATH="$HOME/.local/bin:$PATH"
|
||||
[ -d "$HOME/bin" ] && PATH="$HOME/bin:$PATH"
|
||||
fi
|
||||
. $HOME/.local/bin/generate-env
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue