Added help screens.
This commit is contained in:
18
bash_it.sh
18
bash_it.sh
@@ -20,7 +20,7 @@ do
|
||||
source $config_file
|
||||
done
|
||||
|
||||
|
||||
unset config_file
|
||||
# Plugins
|
||||
PLUGINS="${BASH}/plugins/*.bash"
|
||||
for config_file in $PLUGINS
|
||||
@@ -47,4 +47,18 @@ CUSTOM="${BASH}/custom/*.bash"
|
||||
for config_file in $CUSTOM
|
||||
do
|
||||
source $config_file
|
||||
done
|
||||
done
|
||||
|
||||
|
||||
#
|
||||
# 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 This will list out all the aliases you can use with rails."
|
||||
echo " git-help This will list out all the aliases you can use with git."
|
||||
echo
|
||||
}
|
||||
Reference in New Issue
Block a user