Updates for how to source "mo" and then use it

When you source mo, it adds the "mo" function to the environment.
This commit is contained in:
Tyler Akins
2015-08-27 09:44:04 -05:00
parent e623b16bb8
commit b16d73b5a7
8 changed files with 18 additions and 9 deletions

View File

@@ -11,7 +11,8 @@ export OPTIONS=(
"Call a service representative at 1-800-000-0000 to discuss payment options"
"Return the vehicle immediately and pay a fine of 1 million dollars"
)
sed '0,/^# END/ d' "$(basename "$0")" | . ../mo
. ../mo
sed '0,/^# END/ d' "$(basename "$0")" | mo
exit
# END