diff --git a/functions.md b/functions.md index 4cfacca..a620815 100644 --- a/functions.md +++ b/functions.md @@ -47,29 +47,29 @@ function mkicns() { } ``` -### Helper functions +### Helper Functions -#### Ask user for a password +#### Ask User for Password This function will use AppleScript to present a password entry dialog to make your scripts a little more user friendly. ```bash function gui_password { - if [[ -z $1 ]]; then - gui_prompt="Password:" - else - gui_prompt="$1" - fi - PW=$(osascript <