• namingthingsiseasy@programming.dev
    link
    fedilink
    arrow-up
    6
    ·
    4 months ago

    Not necessarily! I always run ln -s '/usr/bin/$EDITOR' $(which $EDITOR) after a fresh install, so I have a valid executable on the path called $EDITOR.

    Of course, then I have to make sure to add export EDITOR=\$EDITOR to my .bashrc. (Obviously.)

    • sabin@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      4 months ago

      Well,.that’s one way to solve the problem of not expanding your editor var correctly…