[packages/mksh] - rel 2; search history in typed prefix range

arekm arekm at pld-linux.org
Fri Jan 25 10:18:59 CET 2019


commit dbc54c4bb9b811e0e8c58f85556b8984ae674d83
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Jan 25 10:18:52 2019 +0100

    - rel 2; search history in typed prefix range

 mksh-mkshrc | 3 +++
 mksh.spec   | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/mksh.spec b/mksh.spec
index 52446af..04e478b 100644
--- a/mksh.spec
+++ b/mksh.spec
@@ -8,7 +8,7 @@ Summary:	MirBSD Korn Shell
 Summary(pl.UTF-8):	Powłoka Korna z MirBSD
 Name:		mksh
 Version:	56c
-Release:	1
+Release:	2
 License:	BSD
 Group:		Applications/Shells
 Source0:	https://www.mirbsd.org/MirOS/dist/mir/mksh/%{name}-R%{version}.tgz
diff --git a/mksh-mkshrc b/mksh-mkshrc
index 1efd688..28189c1 100644
--- a/mksh-mkshrc
+++ b/mksh-mkshrc
@@ -18,6 +18,9 @@ fi
 # EDITING FUNCTIONS
 set -o emacs
 bind '^I'=complete-list >/dev/null 2>&1
+# search history with prefix support
+bind '^XA'=search-history-up
+bind '^XB'=search-history-down
 
 # SYSTEM WIDE ALIASES ETC.
 for i in /etc/shrc.d/*.sh; do
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mksh.git/commitdiff/dbc54c4bb9b811e0e8c58f85556b8984ae674d83



More information about the pld-cvs-commit mailing list