dakyskye / dxhd

daky's X11 Hotkey Daemon
MIT License
99 stars 6 forks source link

Invoking editor with nano fails #37

Closed NotUnlikeTheWaves closed 3 years ago

NotUnlikeTheWaves commented 3 years ago

What happened

Having envvar EDITOR be empty or setting it to (/usr/bin/)nano fails to invoke the editor on dxhd.sh and crashes:

[hidde@Nidhogg dxhd]$ dxhd -e
Too many errors from stdin
FATA cannot invoke editor                          editor="/usr/bin/nano" error="exit status 1" path="/home/hidde/.config/dxhd/dxhd.sh"

How do you reproduce this bug

Install dxhd-bin from the AUR and set EDITOR=nano before running dxhd -e

Hints on what could have happened

No idea atm. Happens independently of whether dxhd.sh is a valid config or not.

Information

Key Value
dxhd version 09.11.2020_20.51
X server version 1.20.9