From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id CI/JAxbSsl7mKgAA0tVLHw (envelope-from ) for ; Wed, 06 May 2020 15:04:54 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id kJlgNCHSsl5iUwAAB5/wlQ (envelope-from ) for ; Wed, 06 May 2020 15:05:05 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B01B2940F51 for ; Wed, 6 May 2020 15:05:03 +0000 (UTC) Received: from localhost ([::1]:50474 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWLba-0008OE-M8 for larch@yhetil.org; Wed, 06 May 2020 11:05:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38152) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWLbN-0008Nu-Po for help-guix@gnu.org; Wed, 06 May 2020 11:04:49 -0400 Received: from knopi.disroot.org ([178.21.23.139]:45818) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1jWLbK-0007uv-7B for help-guix@gnu.org; Wed, 06 May 2020 11:04:49 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id E6CC12E5FE; Wed, 6 May 2020 17:04:43 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 14eYCX3Yr2D0; Wed, 6 May 2020 17:04:42 +0200 (CEST) Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1588777482; bh=Jn1DTldaaF2asNp1XbaEYhhkfcDTTkd/W/wXU55emO8=; h=Date:From:Subject:To:Cc:In-Reply-To:References; b=LnprHqR6aylHxi2LD7xnDNUpqPrjQ/D1MLNG6UevybeaKH3yHiG0yQ/wXUMc9gctG qw6DXZIVfi22vZ/TAOpQ7gUueb9csV9+BdjuqV6Pcz9AN3BljluovguI5uERw5wOzu 9V6Rxk068hlbxbpuT+Dhl6DkzWDim7I9Hi6Z9958+zmPtvj/4sY0qbRUJohzFvDtcf XLfeLnKeBecpzmYDGczk2EhzHEPEh3wisB9xLl3VkzZdhebBJUoXIfbsQ03kvLC7ZQ LwvOzq71jbm6bg+VA0ZANTZLgFNdeFkhEsSa27b9dL8vcfScUrx0J6jRQ2jDTdzQZ/ ezvyPQmeGFB7g== Date: Wed, 06 May 2020 15:04:42 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: znavko@disroot.org Message-ID: Subject: Re: How to make bash sees binaries from /root/.local/bin ? To: "Vincent Legoll" In-Reply-To: References: Received-SPF: pass client-ip=178.21.23.139; envelope-from=znavko@disroot.org; helo=knopi.disroot.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/06 09:07:00 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 X-Spam-Score: 1.59 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=disroot.org header.s=mail header.b=LnprHqR6; dmarc=fail reason="SPF not aligned (relaxed)" header.from=disroot.org (policy=none); spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Scan-Result: default: False [1.59 / 13.00]; GENERIC_REPUTATION(0.00)[-0.49645200844555]; DWL_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; MV_CASE(0.50)[]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.12), country: US(-0.00), ip: 2001:470:142::17(-0.50)]; R_DKIM_REJECT(1.00)[disroot.org:s=mail]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; RCPT_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[disroot.org:-]; MAILLIST(-0.20)[mailman]; FREEMAIL_TO(0.00)[gmail.com]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[znavko@disroot.org,help-guix-bounces@gnu.org]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[6]; MID_RHS_MATCH_FROM(0.00)[]; SPF_REPUTATION_HAM(0.00)[-0.57182082573676]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; HAS_LIST_UNSUB(-0.01)[]; DNSWL_BLOCKED(0.00)[2001:470:142::17:from]; FROM_NO_DN(0.00)[]; FORGED_SENDER_MAILLIST(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[disroot.org : SPF not aligned (relaxed),none] X-TUID: MtGXv+yF1CUT Yes, it works! Thank you, Vincent Legoll!=0A=0A# cat /root/.bash_profile = =0A# Honor per-interactive-shell startup file=0Aif [ -f ~/.bashrc ]; then= . ~/.bashrc; fi=0AGUIX_PROFILE=3D"/root/.guix-profile" . "/run/current-s= ystem/profile/etc/profile"=0A=0AGUIX_PROFILE=3D"/root/.guix-profile" . "$= GUIX_PROFILE/etc/profile" . "/root/.local/bin"=0A=0A=0APATH=3D"${PATH}:/r= oot/.local/bin"=0A=0A# whereis protonvpn=0Aprotonvpn: /root/.local/bin/pr= otonvpn=0A=0A=0AMay 6, 2020 11:27 AM, "Vincent Legoll" wrote:=0A=0A> hello,=0A> =0A> have you tried something like the = following:=0A> echo 'PATH=3D"${PATH}:/root/.local/bin"' >> /root/.bash_pr= ofile=0A> =0A> maybe also add 'export PATH' after that if needed=0A> =0A>= -- =0A> Vincent Legoll