From 5d96322928b2a0bf58f6ee188e870826f84b5bfa Mon Sep 17 00:00:00 2001 From: zen Date: Sun, 3 Apr 2022 17:47:12 -0700 Subject: [PATCH] nitpick --- ingredients/lead | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ingredients/lead b/ingredients/lead index ae420c4..8d0ea4b 100644 --- a/ingredients/lead +++ b/ingredients/lead @@ -114,7 +114,7 @@ ask_for() { # --------------- Environment Setup --------------- -# If there's an env file, export it's contents to the environment +# If there's an env file, export its contents to the environment source_env() { if [ -f .env ]; then export $(grep -v '^#' .env | xargs) @@ -153,7 +153,7 @@ fi # This one installs utilities to your OS (If you need them!) install_if_needed() { - for package in "$@" # $@ means "all the arguments you passed + for package in "$@" # $@ means "all the arguments you passed" do case $DISTRO in "debian") @@ -195,12 +195,10 @@ install_if_needed() { done } - # --------------- Memory --------------- # These two functions might look like gibberish because we're using regex, # short for REGular EXpression. It's a form of matching text to a pattern. - # It takes values and stores them away in the env for later reference forget() { DOTENV_ENTRY=$(cat .env | grep ^${1}\=)