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