diff options
| -rw-r--r-- | etc/sh/rc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -271,8 +271,8 @@ f() { if [ -n "$file" ]; then # shellcheck disable=2068 history -s f "$@" - history -s "$1" "$file" - "$1" "$file" + history -s "${1:-$EDITOR}" "$file" + "${1:-$EDITOR}" "$file" fi } |
