X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=webi%2Finstall.sh;fp=webi%2Finstall.sh;h=8df8d86b36a782f74a815401323f6d52cbf57ada;hb=40e4c9325e021fb3fed07ab73d69046facf7c0dc;hp=0c26ab455d14dd16e89715e9e0b735f6e0060f48;hpb=318a724de774733372fa53a84223ca574a64b7d8;p=webi-installers%2F.git diff --git a/webi/install.sh b/webi/install.sh index 0c26ab4..8df8d86 100644 --- a/webi/install.sh +++ b/webi/install.sh @@ -3,7 +3,7 @@ # Note: 'webi' is a special case. It's actually just a helper utility that comes with every installer. # See https://github.com/webinstall/packages/blob/master/_webi/bootstrap.sh for the source. -{ +function __faux_webi() { if [ -f "$HOME/.local/bin/webi" ]; then set +e @@ -12,10 +12,20 @@ if [ -z "$cur_webi" ]; then webi_path_add "$HOME/.local/bin" fi - echo "Installed 'webi'" else # for when this file is run on its own, not from webinstall.dev echo "Install any other package via https://webinstall.dev and webi will be installed as part of the bootstrap process" fi + echo "" + echo "'webi' installed to ~/.local/bin/webi" + echo "" + echo "Usage:" + echo " webi [@version] ..." + echo "" + echo "Example:" + echo " webi node@lts prettier vim-essentials" + echo "" } + +__faux_webi