From 4cc5418fb9fd3f7abbb14b9ca46a73670d14a9e0 Mon Sep 17 00:00:00 2001 From: Joe Block Date: Thu, 10 Nov 2016 08:02:18 -0800 Subject: [PATCH] Apply CR feedback --- functions.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) 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 <