[ksh/f15] enable emacs editing mode for history browsing and tab completion
Michal Hlavinka
mhlavink at fedoraproject.org
Thu Dec 8 16:08:42 UTC 2011
commit fb8ea810a56e3db560007668700175847f36685d
Author: Michal Hlavinka <mhlavink at redhat.com>
Date: Thu Dec 8 17:08:34 2011 +0100
enable emacs editing mode for history browsing and tab completion
dotkshrc | 3 +++
ksh.spec | 5 ++++-
2 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/dotkshrc b/dotkshrc
index 3175df7..a1523ba 100644
--- a/dotkshrc
+++ b/dotkshrc
@@ -5,4 +5,7 @@ if [ -f /etc/kshrc ]; then
. /etc/kshrc
fi
+# enable emacs edit mode, for browsing history and tab completion
+set -o emacs
+
# User specific aliases and functions
diff --git a/ksh.spec b/ksh.spec
index 4f1ce80..849a67e 100644
--- a/ksh.spec
+++ b/ksh.spec
@@ -6,7 +6,7 @@ URL: http://www.kornshell.com/
Group: System Environment/Shells
License: CPL
Version: 20110630
-Release: 5%{?dist}
+Release: 6%{?dist}
Source0: http://www.research.att.com/~gsf/download/tgz/ast-ksh.%{releasedate}.tgz
Source1: http://www.research.att.com/~gsf/download/tgz/INIT.%{releasedate}.tgz
Source3: kshrc.rhs
@@ -140,6 +140,9 @@ fi
rm -rf $RPM_BUILD_ROOT
%changelog
+* Thu Dec 08 2011 Michal Hlavinka <mhlavink at redhat.com> - 20110630-6
+- enable emacs editing mode for history browsing and tab completion
+
* Wed Dec 07 2011 Michal Hlavinka <mhlavink at redhat.com> - 20110630-5
- fix: ksh crashes when browsing through history containing comment (#733813)
- fix: ksh crashes when two subseguent dots are used in variable or command name (#733544)
More information about the scm-commits
mailing list