Compare commits

..

6 Commits

Author SHA1 Message Date
AJ ONeal
b3672e5412 ref: move shell integrations to their own functions 2023-11-21 13:31:36 -07:00
AJ ONeal
cb272101b3 ref: move 'webi --info' to its own function 2023-11-21 13:31:36 -07:00
AJ ONeal
68ec49b8e8 feat(completions): add --<option>s to the list 2023-11-21 13:31:36 -07:00
AJ ONeal
02bbecc561 feat(webi): save install options for shell completions 2023-11-21 13:31:35 -07:00
AJ ONeal
50f982f6e3 fix(zsh): must 'compinit' before 'compdef' 2023-11-21 19:53:21 +00:00
RubenRam
f2d7ef229e feat(webi): add webi init option
Add shell package completion for bash, zsh and fish
2023-11-21 19:53:19 +00:00
2 changed files with 2 additions and 2 deletions

View File

@@ -118,7 +118,7 @@ fn_polite_sudo() { (
# this is user interactive, ask the user,defaulting to yes
echo ""
#shellcheck disable=SC2005 # echo for newline
echo "$(t_attn 'Use sudo for the following? [Y/n]')"
echo "$(t_attn 'Use sudo for the following? [Y/n])')"
echo "${a_cmds}"
read -r b_yes < /dev/tty

View File

@@ -152,7 +152,7 @@ __webi_main() {
my_checksum="$(
fn_checksum
)"
my_version=v1.2.7
my_version=v1.2.0
printf "\e[35mwebi\e[32m %s\e[0m Copyright 2020+ AJ ONeal\n" "${my_version} (${my_checksum})"
printf " \e[36mhttps://webinstall.dev/webi\e[0m\n"
}