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