Skip to content
Snippets Groups Projects
Unverified Commit 4195a1da authored by Andrew Gillis's avatar Andrew Gillis Committed by GitHub
Browse files

fix: handling of EDITOR env var (#10855)

The `ipfs config edit` command did not correctly handle the `EDITOR` environment variable correctly when its value contains flags and arguments, i.e. `EDITOR=emacs -nw`. The command was treating the entire value of `$EDITOR` as the name of the editor command. This has been fixed to parse the value of `$EDITOR` into separate args, respecting shell quoting.

Closes #9375
parent b95845e5
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment