From 4096da8d4dc8b247725ccb29e52f4fa58e751e3d Mon Sep 17 00:00:00 2001 From: "T. R. Bernstein" <137705289+trbernstein@users.noreply.github.com> Date: Fri, 28 Jun 2024 16:59:03 +0200 Subject: [PATCH] Change vim modeline --- bootstrap.sh | 2 +- install.sh | 2 +- modules/01-system-settings.sh | 2 +- modules/02-create-filevault-user.sh | 2 +- modules/03-install-brew.sh | 2 +- modules/04-install-brew-apps.sh | 2 +- modules/05-install-remap-keys.sh | 2 +- modules/06-install-mas-apps.sh | 2 +- modules/07-install-binaries.sh | 2 +- modules/08-install-zsh-libraries.sh | 2 +- modules/09-install-fonts.sh | 2 +- modules/lib.sh | 1 + 12 files changed, 12 insertions(+), 11 deletions(-) diff --git a/bootstrap.sh b/bootstrap.sh index 42b2002..2fe53e0 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1,5 +1,5 @@ #!/usr/bin/env zsh -# vi: set expandtab ft=zsh tw=80 ts=2 +# vi: set ft=zsh tw=80 ts=2 function versionGT() { [[ "${1%.*}" -gt "${2%.*}" ]] || [[ "${1%.*}" -eq "${2%.*}" && "${1#*.}" -gt "${2#*.}" ]] diff --git a/install.sh b/install.sh index 7e130d0..9440d86 100755 --- a/install.sh +++ b/install.sh @@ -1,5 +1,5 @@ #!/usr/bin/env zsh -# vi: set expandtab ft=zsh tw=80 ts=2 +# vi: set ft=zsh tw=80 ts=2 runModule() { "$@" diff --git a/modules/01-system-settings.sh b/modules/01-system-settings.sh index 10ec25c..5d38dca 100755 --- a/modules/01-system-settings.sh +++ b/modules/01-system-settings.sh @@ -1,5 +1,5 @@ #!/usr/bin/env zsh -# vi: ft=zsh +# vi: set ft=zsh tw=80 ts=2 function getQuestionsPrerequisites() { cmds=( diff --git a/modules/02-create-filevault-user.sh b/modules/02-create-filevault-user.sh index 469cc71..979d86f 100755 --- a/modules/02-create-filevault-user.sh +++ b/modules/02-create-filevault-user.sh @@ -1,5 +1,5 @@ #!/usr/bin/env zsh -# vi: ft=zsh +# vi: set ft=zsh tw=80 ts=2 function getComputerName() { local moduleAnswer diff --git a/modules/03-install-brew.sh b/modules/03-install-brew.sh index 9190caf..9751e04 100755 --- a/modules/03-install-brew.sh +++ b/modules/03-install-brew.sh @@ -1,5 +1,5 @@ #!/usr/bin/env zsh -# vi: ft=zsh +# vi: set ft=zsh tw=80 ts=2 export HOMEBREW_NO_ANALYTICS_THIS_RUN=1 export HOMEBREW_NO_ANALYTICS_MESSAGE_OUTPUT=1 diff --git a/modules/04-install-brew-apps.sh b/modules/04-install-brew-apps.sh index d6fe0ed..53d3ae9 100755 --- a/modules/04-install-brew-apps.sh +++ b/modules/04-install-brew-apps.sh @@ -1,5 +1,5 @@ #!/usr/bin/env zsh -# vi: ft=zsh +# vi: set ft=zsh tw=80 ts=2 function brewInstall() { local identifier="$1" diff --git a/modules/05-install-remap-keys.sh b/modules/05-install-remap-keys.sh index 869ad91..d3939b2 100755 --- a/modules/05-install-remap-keys.sh +++ b/modules/05-install-remap-keys.sh @@ -1,5 +1,5 @@ #!/usr/bin/env zsh -# vi: ft=zsh +# vi: set ft=zsh tw=80 ts=2 function ensureRightAccess() { local filesystemItem="$1" diff --git a/modules/06-install-mas-apps.sh b/modules/06-install-mas-apps.sh index 5f71519..72b8f9d 100755 --- a/modules/06-install-mas-apps.sh +++ b/modules/06-install-mas-apps.sh @@ -1,5 +1,5 @@ #!/usr/bin/env zsh -# vi: ft=zsh +# vi: set ft=zsh tw=80 ts=2 function installMASApp() { local currentUser="`who am i | cut -d' ' -f1`" diff --git a/modules/07-install-binaries.sh b/modules/07-install-binaries.sh index 2251e38..92a1e4a 100755 --- a/modules/07-install-binaries.sh +++ b/modules/07-install-binaries.sh @@ -1,5 +1,5 @@ #!/usr/bin/env zsh -# vi: ft=zsh +# vi: set ft=zsh tw=80 ts=2 function ensureRightAccess() { local filesystemItem="$1" diff --git a/modules/08-install-zsh-libraries.sh b/modules/08-install-zsh-libraries.sh index fb37a1a..e845649 100755 --- a/modules/08-install-zsh-libraries.sh +++ b/modules/08-install-zsh-libraries.sh @@ -1,5 +1,5 @@ #!/usr/bin/env zsh -# vi: ft=zsh +# vi: set ft=zsh tw=80 ts=2 function addLibToStartupFile() { } diff --git a/modules/09-install-fonts.sh b/modules/09-install-fonts.sh index 59bd71d..fb2973e 100755 --- a/modules/09-install-fonts.sh +++ b/modules/09-install-fonts.sh @@ -1,5 +1,5 @@ #!/usr/bin/env zsh -# vi: ft=zsh +# vi: set ft=zsh tw=80 ts=2 function installGoogleFonts() { local fontsDir=/Library/Fonts/Google-Fonts diff --git a/modules/lib.sh b/modules/lib.sh index 3eb3fd1..e3792dc 100644 --- a/modules/lib.sh +++ b/modules/lib.sh @@ -1,4 +1,5 @@ #!/usr/bin/env zsh +# vi: set ft=zsh tw=80 ts=2 function autoloadZShLib() { test -d "${ASTZWEIG_ZSHLIB}" || { echo "This module needs astzweig/zshlib to work." >&2; return 99 }