about summary refs log tree commit diff stats
path: root/etc/ksh/functions/man_complete
diff options
context:
space:
mode:
Diffstat (limited to 'etc/ksh/functions/man_complete')
-rw-r--r--etc/ksh/functions/man_complete4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/ksh/functions/man_complete b/etc/ksh/functions/man_complete
new file mode 100644
index 0000000..bab26dd
--- /dev/null
+++ b/etc/ksh/functions/man_complete
@@ -0,0 +1,4 @@
+#!/bin/ksh
+man_complete() {
+	set -A complete_man -- $(<~cache/ksh/precompletions/manpages)
+}