aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustine Smithies <justine@smithies.me.uk>2026-09-06 13:36:25 +0100
committerJustine Smithies <justine@smithies.me.uk>2026-09-06 13:36:25 +0100
commitb3b9c0f6e79a2b16e2ebb88e873818887824bf34 (patch)
treebd776c7214436d7b9fbfda2862288e9bc6caf201
parent969504037bed066630976a7c6bfa52bb5c4a0ad3 (diff)
Update man page autocompletion to remove everything from ( to last )
-rw-r--r--.kshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.kshrc b/.kshrc
index f6214d1..bf6da53 100644
--- a/.kshrc
+++ b/.kshrc
@@ -117,8 +117,8 @@ online scrub set split status upgrade
set -A complete_man $(
apropos . 2>/dev/null |
sed -E '
+ s/[(].*[)]//
s/[[:space:]].*//
- s/\([^)]*\)$//
s/,[[:space:]]*$//
' |
sort -u