Changed meta info resolution to look for data based on the type, e.g. about-plugin, about-alias, about-completion.
parent
1f558e2550
commit
f71be20247
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
cite about-plugin
|
||||
about-plugin 'general aliases'
|
||||
cite about-alias
|
||||
about-alias 'general aliases'
|
||||
|
||||
# List directory contents
|
||||
alias sl=ls
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ _bash-it-describe ()
|
|||
else
|
||||
enabled=' '
|
||||
fi
|
||||
printf "%-20s%-10s%s\n" "$(basename $f | cut -d'.' -f1)" " [$enabled]" "$(cat $f | metafor about-plugin)"
|
||||
printf "%-20s%-10s%s\n" "$(basename $f | cut -d'.' -f1)" " [$enabled]" "$(cat $f | metafor about-$command_suffix)"
|
||||
done
|
||||
printf '\n%s\n' "to enable $preposition $command_suffix, do:"
|
||||
printf '%s\n' "$ enable-$command_suffix <$command_suffix name> -or- $ enable-$command_suffix all"
|
||||
|
|
|
|||
Loading…
Reference in New Issue