From 504c2764d5fecc8c4b6007223e650c8f80285d15 Mon Sep 17 00:00:00 2001 From: Justine Smithies Date: Sun, 30 Aug 2026 23:10:53 +0100 Subject: Added man page completion. --- .kshrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.kshrc') diff --git a/.kshrc b/.kshrc index 88c6abe..f6214d1 100644 --- a/.kshrc +++ b/.kshrc @@ -104,6 +104,8 @@ set -A complete_ssh -- $_SSH_HOSTS set -A complete_pkg -- autoremove clean install search update upgrade version # Git completion +set -A complete_git -- \ + $(git --list-cmds=main) \ $(git config --get-regexp ^alias\. | awk -F '[\. ]' '{ print $2 }') set -A complete_config -- add commit diff push status set -A complete_service_2 -- onereload onerestart onestop restart start status stop @@ -120,7 +122,7 @@ set -A complete_man $( s/,[[:space:]]*$// ' | sort -u -) +) # Turn off export all set +o allexport -- cgit v1.3