On Mon, 25 May 2020 12:32:59 +0200 (CEST), Michael Van Canneyt via
lazarus <lazarus@lists.lazarus-ide.org> wrote:

>> Then Lazarus starts OK but again throws the error due to
>> /home/bosse/bin missing from PATH.
>
>Where is it added to the PATH ? Normally, if you do this in .bashrc or
>.profile, the -l option forces bash to pick it up.
>

It is in ~/.profile

These are the active lines in that file:

# if running bash
if [ -n "$BASH_VERSION" ]; then
    # include .bashrc if it exists
    if [ -f "$HOME/.bashrc" ]; then
        . "$HOME/.bashrc"
    fi
fi

# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
    PATH="$HOME/bin:$PATH"
fi

# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
    PATH="$HOME/.local/bin:$PATH"
fi

So whenever .profile is loaded the ~/bin dir gets prepended to PATH...

Soo strange that it is not working...


-- 
Bo Berglund
Developer in Sweden

-- 
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to