archey3
archey3 copied to clipboard
$EDITOR in zsh
Archey3 is not picking up the $EDITOR environment variable from zsh.
The command: echo $EDITOR
gives output vim
, but archey gives me None
.
If I set the $EDITOR variable in .bashrc
and run: bash -c -i archey3
from zsh, I get the correct output.
The program calls os.getenv
, which, while a tad antiquated, should just get the value of the environment variable named EDITOR
, from whichever shell it was run from. Could you share the output of the env
command, followed by the archey3
command, when run from the same terminal? This would be very useful to diagnose the issue
You probably have the variable set in zsh, but not exported. The same thing can happen with bash.