summaryrefslogtreecommitdiff
path: root/bin/ksh/misc.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-12-12 06:53:14 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-12-12 06:53:14 +0000
commit81ab06bd533ae45298f0aecec83cafc63aa2670c (patch)
tree4383820059ced16d90816e21f9d1892dc38a5c69 /bin/ksh/misc.c
parentfa3d7811bc8e12ad43c058b0529b892103e249e9 (diff)
csh-style ! history completion, which can be activated by using
set -o csh-history (off by default) this is not feature complete, and likely never will be. no ^ and ! has some oddities ... ksh's internal history stuff has got some very odd behaviours that are rather nasty ok various developers
Diffstat (limited to 'bin/ksh/misc.c')
-rw-r--r--bin/ksh/misc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ksh/misc.c b/bin/ksh/misc.c
index 045f2867e9c..157b81bede2 100644
--- a/bin/ksh/misc.c
+++ b/bin/ksh/misc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: misc.c,v 1.20 2003/10/22 07:40:38 jmc Exp $ */
+/* $OpenBSD: misc.c,v 1.21 2004/12/12 06:53:13 deraadt Exp $ */
/*
* Miscellaneous functions
@@ -139,6 +139,7 @@ const struct option options[] = {
#endif
{ "bgnice", 0, OF_ANY },
{ (char *) 0, 'c', OF_CMDLINE },
+ { "csh-history", 0, OF_ANY }, /* non-standard */
#ifdef EMACS
{ "emacs", 0, OF_ANY },
{ "emacs-usemeta", 0, OF_ANY }, /* non-standard */