aboutsummaryrefslogtreecommitdiff
path: root/.kshrc
diff options
context:
space:
mode:
authorJustine Smithies <justine@smithies.me.uk>2026-08-30 23:10:53 +0100
committerJustine Smithies <justine@smithies.me.uk>2026-08-30 23:10:53 +0100
commit504c2764d5fecc8c4b6007223e650c8f80285d15 (patch)
tree2dbd3cdd6c1fa713ac06f09a285a4e685cd66b3e /.kshrc
parente84c4b558d3f6767e19425b69a51413284d7c5ee (diff)
Added man page completion.
Diffstat (limited to '.kshrc')
-rw-r--r--.kshrc4
1 files changed, 3 insertions, 1 deletions
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