diff options
Diffstat (limited to 'sh/shrc.d')
-rw-r--r-- | sh/shrc.d/e.sh | 4 | ||||
-rw-r--r-- | sh/shrc.d/v.sh | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/sh/shrc.d/e.sh b/sh/shrc.d/e.sh new file mode 100644 index 00000000..776b242c --- /dev/null +++ b/sh/shrc.d/e.sh @@ -0,0 +1,4 @@ +# Invoke $EDITOR +e() { + "${EDITOR:-ed}" "$@" +} diff --git a/sh/shrc.d/v.sh b/sh/shrc.d/v.sh new file mode 100644 index 00000000..a5fa147c --- /dev/null +++ b/sh/shrc.d/v.sh @@ -0,0 +1,4 @@ +# Invoke $VISUAL +v() { + "${VISUAL:-vi}" "$@" +} |