Skip to content

<F4> fails if $EDITOR includes space #4

Description

@step-

Line 136

notes/tmt

Line 136 in b8a2bc7

${EDITOR:-vim} $FILE "+/\\M$line" ;;
fails to run if EDITOR includes a space because line 4

notes/tmt

Line 4 in b8a2bc7

IFS=$'\n\t'
prevents word expansion on the space character.

E.g. Here EDITOR='gvim -f' fails with message: gvim -f: no such file or directory.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions