Merged @erichs changes for the bash-it function.
This commit is contained in:
23
bash_it.sh
23
bash_it.sh
@@ -24,6 +24,9 @@ fi
|
||||
# Load composure first, so we support function metadata
|
||||
source "${BASH_IT}/lib/composure.sh"
|
||||
|
||||
# support 'plumbing' metadata
|
||||
cite _about _param _example _group _author _version
|
||||
|
||||
# Load colors first so they can be use in base theme
|
||||
source "${BASH_IT}/themes/colors.theme.bash"
|
||||
source "${BASH_IT}/themes/base.theme.bash"
|
||||
@@ -72,23 +75,3 @@ if [ -e $HOME/.jekyllconfig ]
|
||||
then
|
||||
. $HOME/.jekyllconfig
|
||||
fi
|
||||
|
||||
|
||||
#
|
||||
# Custom Help
|
||||
|
||||
function bash-it() {
|
||||
echo "Welcome to Bash It!"
|
||||
echo
|
||||
echo "Here is a list of commands you can use to get help screens for specific pieces of Bash it:"
|
||||
echo
|
||||
echo " rails-help list out all aliases you can use with rails."
|
||||
echo " git-help list out all aliases you can use with git."
|
||||
echo " todo-help list out all aliases you can use with todo.txt-cli"
|
||||
echo " brew-help list out all aliases you can use with Homebrew"
|
||||
echo " aliases-help generic list of aliases."
|
||||
echo " plugins-help list out all functions you have installed with bash-it"
|
||||
echo " bash-it-plugins summarize bash-it plugins, and their installation status"
|
||||
echo " reference <function name> detailed help for a specific function"
|
||||
echo
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user