commit d33a3ca43802c3011d394f573b77487e52152ffa
parent 94085f560fb9a14d78956fe2560935ad76608e61
Author: Anton Konyahin <me@konyahin.xyz>
Date: Sat, 3 Jun 2023 22:53:31 +0300
sh: learnmore for pkg-readme
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/sh/.config/ksh/kshrc b/sh/.config/ksh/kshrc
@@ -73,6 +73,11 @@ alias music-dl='youtube-dl -f "bestaudio[ext=m4a]"'
alias reload='. ~/.config/ksh/kshrc'
+whatabout () {
+ $PAGER "/usr/local/share/doc/pkg-readmes/$1"
+}
+set -A complete_whatabout -- $(ls /usr/local/share/doc/pkg-readmes/)
+
# autocomplete
set -A complete_git -- pull push clone checkout status commit clean restore diff
set -A complete_sttemp -- $(ls ~/project/templates)