Reputation: 995
I wonder if this is only my case that
when I use less
458 (POSIX regular expressions),
~/.zshenv
is read.
Because I use pyenv
and python
is in a directory of pyenv
(PATH is set in ~/.zshrc),
less
does not work.
The error message is 'no python is available.'.
If I explicitly set, at the top of .zshenv
, PATH=/usr/bin:$PATH
,
then less
works.
Could you explain what is going on...
Upvotes: 0
Views: 68