• ulterno
    link
    fedilink
    English
    arrow-up
    6
    ·
    4 天前

    Well, when I can just do $EDITOR file

    • jayands@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      3 天前

      The subtle difference is that your $SHELL is responsible for opening (and, iirc, parsing?) the file when you use \<, versus the $EDITOR being the responsible entity.

      • ulterno
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 天前

        Oh I get it now.
        Also, for some reason setting vi as $EDITOR, it is not able to load the contents of the file, unlike vim that does.