summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--share/skel/dot.shrc10
1 files changed, 7 insertions, 3 deletions
diff --git a/share/skel/dot.shrc b/share/skel/dot.shrc
index fbc2fee..7349169 100644
--- a/share/skel/dot.shrc
+++ b/share/skel/dot.shrc
@@ -13,9 +13,13 @@
#
# umask 022
-# Uncomment next line to enable the builtin emacs(1) command line editor
-# in sh(1), e.g. C-a -> beginning-of-line.
-# set -o emacs
+# Enable the builtin emacs(1) command line editor in sh(1),
+# e.g. C-a -> beginning-of-line.
+set -o emacs
+
+# Uncomment this and comment the above to enable the builtin vi(1) command
+# line editor in sh(1), e.g. ESC to go into visual mode.
+# set -o vi
# some useful aliases
OpenPOWER on IntegriCloud