archey3 icon indicating copy to clipboard operation
archey3 copied to clipboard

$EDITOR in zsh

Open Nohac opened this issue 8 years ago • 2 comments

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.

Nohac avatar Apr 26 '16 15:04 Nohac

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

lclarkmichalek avatar May 22 '16 18:05 lclarkmichalek

You probably have the variable set in zsh, but not exported. The same thing can happen with bash.

LukeShu avatar Oct 10 '16 14:10 LukeShu