kanban.bash icon indicating copy to clipboard operation
kanban.bash copied to clipboard

bug: not helpful when missing $EDITOR

Open prenex opened this issue 3 years ago • 1 comments

STEPS:

  • Tried to "kanban 1" (editing of id 1) on a machine where $EDITOR was not set.

EXPECTED:

  • Some error message that is meaningful for missing variable

HAPPENS:

  • Some cryptic error message. I found out that this was missing by guesswork.

I understand that you pretty much best have that set anyways, but it would be helpful to add a better message. Show, init, etc. usually works (I have this "tput: unknown terminfo capability 'normal'" other error though, but everything seems to work with it).

SOLUTION:

  • Add EDITOR env var on your machines
  • But would be nice if software tells us.

prenex avatar Jun 09 '22 13:06 prenex

tried export EDITOR=vim should work? I still get the same error

rubytes avatar Sep 23 '22 12:09 rubytes