Hacker News new | ask | show | jobs
by junkblocker 3986 days ago
You are running that in shell by hand. The python program running here is not shell. If you do a print(os.environ["GIT_EDITOR"]) in the python3 program you'll still see ~/bin/vim .