unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: znavko@disroot.org
To: "Vincent Legoll" <vincent.legoll@gmail.com>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: How to make bash sees binaries from /root/.local/bin ?
Date: Wed, 06 May 2020 15:04:42 +0000	[thread overview]
Message-ID: <d200556872fde9223d9658f1ecce7bcd@disroot.org> (raw)
In-Reply-To: <CAEwRq=o9_GRx+8CSOyEJK1gm=V_=hnD-9N9VU1envVxt1z+w9Q@mail.gmail.com>

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" <vincent.legoll@gmail.com> 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


      parent reply	other threads:[~2020-05-06 15:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-06 11:01 How to make bash sees binaries from /root/.local/bin ? znavko
2020-05-06 11:26 ` Vincent Legoll
2020-05-06 15:04 ` znavko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d200556872fde9223d9658f1ecce7bcd@disroot.org \
    --to=znavko@disroot.org \
    --cc=help-guix@gnu.org \
    --cc=vincent.legoll@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).