diff --git a/setupScripts/casks.sh b/setupScripts/casks.sh index 095cd5d..9faca45 100755 --- a/setupScripts/casks.sh +++ b/setupScripts/casks.sh @@ -8,8 +8,9 @@ version="1.0.0" # Sets version variable for this script scriptTemplateVersion="1.0.1" # Version of scriptTemplate.sh # that this script is based on # -# A Bash script boilerplate. Allows for common functions, logging, tmp -# file creation, CL option passing, and more. +# This script installs Homebrew Casks - allowing for command line +# installation of native Mac Applications. Once Homebrew Casks is installed, +# this script then installs a number of applications. # # For logging levels use the following functions: # - header: Prints a script header @@ -181,11 +182,11 @@ header "Completed ${scriptName}" usage() { echo -n "${scriptName} [OPTION]... [FILE]... -This is my script template. +This script installs Homebrew Casks - allowing for command line +installation of native Mac Applications. Once Homebrew Casks is installed, +this script then installs a number of applications. Options: - -u, --username Username for script - -p, --password User password -f, --force Skip all user interaction. Implied 'Yes' to all actions -q, --quiet Quiet (no output) -l, --log Print log to file diff --git a/setupScripts/fileTest.sh b/setupScripts/fileTest.sh index d30c6be..6df543e 100755 --- a/setupScripts/fileTest.sh +++ b/setupScripts/fileTest.sh @@ -138,11 +138,10 @@ header "Completed ${scriptBasename}" usage() { echo -n "${scriptName} [OPTION]... [FILE]... -This is my script template. +A Script to test if certain files from Dropbox are synced to the local hard drive. +This script relies on a text file containing paths to documents. Options: - -u, --username Username for script - -p, --password User password -f, --force Skip all user interaction. Implied 'Yes' to all actions -q, --quiet Quiet (no output) -l, --log Print log to file diff --git a/setupScripts/homebrew.sh b/setupScripts/homebrew.sh index 7a2bc59..7a45117 100755 --- a/setupScripts/homebrew.sh +++ b/setupScripts/homebrew.sh @@ -8,8 +8,7 @@ version="1.0.0" # Sets version variable for this script scriptTemplateVersion="1.0.1" # Version of scriptTemplate.sh # that this script is based on # -# A Bash script boilerplate. Allows for common functions, logging, tmp -# file creation, CL option passing, and more. +# Installs Homebrew and all its prerequisites, then installs a number of packages. # # For logging levels use the following functions: # - header: Prints a script header @@ -184,11 +183,9 @@ header "Ending ${scriptName}" usage() { echo -n "${scriptName} [OPTION]... [FILE]... -This is my script template. +Installs Homebrew and all its prerequisites, then installs a number of packages. Options: - -u, --username Username for script - -p, --password User password -f, --force Skip all user interaction. Implied 'Yes' to all actions -q, --quiet Quiet (no output) -l, --log Print log to file diff --git a/setupScripts/mackup.sh b/setupScripts/mackup.sh index 0c7282b..7a72d35 100755 --- a/setupScripts/mackup.sh +++ b/setupScripts/mackup.sh @@ -8,8 +8,8 @@ version="1.0.0" # Sets version variable for this script scriptTemplateVersion="1.1.0" # Version of scriptTemplate.sh # that this script is based on # -# A Bash script boilerplate. Allows for common functions, logging, tmp -# file creation, CL option passing, and more. +# This script installs Mackup, symlinks configuration files with Dropbox, +# and then runs Mackup Restore to use a shared configuration on a new computer. # # For logging levels use the following functions: # - header: Prints a script header @@ -184,11 +184,10 @@ header "Completed ${scriptName}" usage() { echo -n "${scriptName} [OPTION]... [FILE]... -This is my script template. +This script installs Mackup, symlinks configuration files with Dropbox, +and then runs Mackup Restore to use a shared configuration on a new computer. Options: - -u, --username Username for script - -p, --password User password -f, --force Skip all user interaction. Implied 'Yes' to all actions -q, --quiet Quiet (no output) -l, --log Print log to file diff --git a/setupScripts/osx.sh b/setupScripts/osx.sh index 56deea9..11ba021 100755 --- a/setupScripts/osx.sh +++ b/setupScripts/osx.sh @@ -8,8 +8,7 @@ version="1.0.0" # Sets version variable for this script scriptTemplateVersion="1.1.0" # Version of scriptTemplate.sh that this script is based on # v.1.1.0 - Added 'debug' option # -# A Bash script boilerplate. Allows for common functions, logging, tmp -# file creation, CL option passing, and more. +# This script configures a MacOS environment. # # For logging levels use the following functions: # - header: Prints a script header @@ -174,7 +173,7 @@ if is_confirmed; then success "Automatically quit printer app once the print jobs complete" defaults write com.apple.print.PrintingPrefs "Quit When Finished" -bool true - success "Disable the Are you sure you want to open this application? dialog" + success "Disable the 'Are you sure you want to open this application?' dialog" defaults write com.apple.LaunchServices LSQuarantine -bool false success "General:Display ASCII control characters using caret notation in standard text views" @@ -212,7 +211,7 @@ if is_confirmed; then defaults write NSGlobalDomain NSAutomaticDashSubstitutionEnabled -bool false success "Removing duplicates in the 'Open With' menu" - /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user + #/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user #success "Disable hibernation? (speeds up entering sleep mode)" #sudo pmset -a hibernatemode 0 @@ -823,12 +822,10 @@ header "Completed ${scriptBasename}" usage() { echo -n "${scriptName} [OPTION]... [FILE]... -This is my script template. +This script configures a macOSX environment. Options: - -u, --username Username for script - -p, --password User password - -f, --force Skip all user interaction. Implied 'Yes' to all actions + -f, --force Skip all user interaction. Implied 'Yes' to all actions. -q, --quiet Quiet (no output) -l, --log Print log to file -s, --strict Exit script with null variables. i.e 'set -o nounset' diff --git a/setupScripts/ruby.sh b/setupScripts/ruby.sh index 4520c9f..6874a8c 100755 --- a/setupScripts/ruby.sh +++ b/setupScripts/ruby.sh @@ -8,8 +8,7 @@ version="1.0.0" # Sets version variable for this script scriptTemplateVersion="1.1.0" # Version of scriptTemplate.sh that this script is based on # v.1.1.0 - Added 'debug' option # -# A Bash script boilerplate. Allows for common functions, logging, tmp -# file creation, CL option passing, and more. +# This script will install Ruby and RVM via Homebrew # # For logging levels use the following functions: # - header: Prints a script header @@ -171,11 +170,9 @@ header "Ending ${scriptBasename}" usage() { echo -n "${scriptName} [OPTION]... [FILE]... -This is my script template. +This script installs Ruby and RVM via Homebrew as well as a number of Gems. Options: - -u, --username Username for script - -p, --password User password -f, --force Skip all user interaction. Implied 'Yes' to all actions -q, --quiet Quiet (no output) -l, --log Print log to file diff --git a/setupScripts/ssh.sh b/setupScripts/ssh.sh index 3b99229..a0d8171 100755 --- a/setupScripts/ssh.sh +++ b/setupScripts/ssh.sh @@ -8,8 +8,7 @@ version="1.0.0" # Sets version variable for this script scriptTemplateVersion="1.1.0" # Version of scriptTemplate.sh that this script is based on # v.1.1.0 - Added 'debug' option # -# A Bash script boilerplate. Allows for common functions, logging, tmp -# file creation, CL option passing, and more. +# This script creates an SSH key on a mac and then sends it to GitHub. # # For logging levels use the following functions: # - header: Prints a script header @@ -138,11 +137,9 @@ header "Completed ${scriptBasename}" usage() { echo -n "${scriptName} [OPTION]... [FILE]... -This is my script template. +This script creates an SSH key on a mac and then sends it to GitHub. Options: - -u, --username Username for script - -p, --password User password -f, --force Skip all user interaction. Implied 'Yes' to all actions -q, --quiet Quiet (no output) -l, --log Print log to file