help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to make bash sees binaries from /root/.local/bin ?


From: znavko
Subject: Re: How to make bash sees binaries from /root/.local/bin ?
Date: Wed, 06 May 2020 15:04:42 +0000

Yes, it works! Thank you, Vincent Legoll!

# cat /root/.bash_profile 
# Honor per-interactive-shell startup file
if [ -f ~/.bashrc ]; then . ~/.bashrc; fi
GUIX_PROFILE="/root/.guix-profile" . "/run/current-system/profile/etc/profile"

GUIX_PROFILE="/root/.guix-profile" . "$GUIX_PROFILE/etc/profile" . 
"/root/.local/bin"


PATH="${PATH}:/root/.local/bin"

# whereis protonvpn
protonvpn: /root/.local/bin/protonvpn


May 6, 2020 11:27 AM, "Vincent Legoll" <address@hidden> wrote:

> hello,
> 
> have you tried something like the following:
> echo 'PATH="${PATH}:/root/.local/bin"' >> /root/.bash_profile
> 
> maybe also add 'export PATH' after that if needed
> 
> -- 
> Vincent Legoll



reply via email to

[Prev in Thread] Current Thread [Next in Thread]