about summary refs log tree commit diff stats
path: root/config/ksh/functions/update_completion_pkg_inst_obsd
diff options
context:
space:
mode:
Diffstat (limited to 'config/ksh/functions/update_completion_pkg_inst_obsd')
-rw-r--r--config/ksh/functions/update_completion_pkg_inst_obsd4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/ksh/functions/update_completion_pkg_inst_obsd b/config/ksh/functions/update_completion_pkg_inst_obsd
new file mode 100644
index 0000000..0442a77
--- /dev/null
+++ b/config/ksh/functions/update_completion_pkg_inst_obsd
@@ -0,0 +1,4 @@
+#!/bin/ksh
+update_completion_pkg_inst() {
+	ls -1 /var/db/pkg>$XDG_CACHE_HOME/ksh/precompletions/pkg_inst
+}