I just noted that I forgot another level of quoting that would be needed
for those rare cases of users having awkward characters in their path.
Also I've added { …; } around the first version (the 2nd already has (…
), yes the different forms are on purpose) and a 2 /dev/null to not
clutter up
Package: bash
Version: 4.3-12
Severity: normal
Tags: patch
Hi.
Currently Debian sets something like the following for VI_EDIT_COMMAND,
EMACS_EDIT_COMMAND, FC_EDIT_COMMAND and POSIX_FC_EDIT_COMMAND:
${FCEDIT:-${EDITOR:-$(command -v editor || echo vi)}}
While this is nice it has several flaws:
2 matches
Mail list logo