[arch-general] Problem with reflector
Yaro Kasear
yaro at marupa.net
Sun Mar 8 04:53:28 UTC 2020
On 3/7/20 10:51 PM, karx via arch-general wrote:
> On Sat, Mar 7, 2020, 9:59 PM Yaro Kasear <yaro at marupa.net> wrote:
>
>> On 3/7/20 9:53 PM, karx via arch-general wrote:
>>> On Sat, Mar 7, 2020, 9:50 PM Neven Sajko <nsajko at gmail.com> wrote:
>>>
>>>> I have not fully understood your situation, but can you not just
>>>> change the PATH environment variable?
>>>>
>>> No. I need python for other projects, and would much rather use a version
>>> management system rather than risk messing up the system python.
>> Basically,
>>> what I am asking is, can I get reflector to work with pyenv?
>>>
>> You could just change PATH for the one terminal with an 'export
>> PATH=/usr/bin:$PATH'
>>
>> That wouldn't affect PATH for any other sessions...
>>
>> Yaro
>>
> Thanks for your reply. If I put this in a bash script, will it reset once
> the script is done running?
>
I suspect it will if you drop the 'export' directive and just set PATH
without it.
I'd strongly recommend testing it until it works for you.
Yaro
More information about the arch-general
mailing list