Commit Graph
100 Commits
Author SHA1 Message Date
Rezart Qelibari e4c965f37c Do not swallow up every message 2022-04-27 09:03:11 +02:00
Rezart Qelibari 229af9e107 Add module headings to modules 2022-04-26 04:51:40 +02:00
Rezart Qelibari 095e4e5478 Add is-picture subcommand as validator 2022-04-26 04:14:39 +02:00
Rezart Qelibari 0c6cc19bc1 Add hooks to lib/module_main 2022-04-26 04:14:39 +02:00
Rezart Qelibari 20a9d88385 Update zshlib 2022-04-26 04:14:35 +02:00
Rezart Qelibari 5af1b3e1c3 Add int and term trap calls 2022-04-25 06:40:03 +02:00
Rezart Qelibari d74a213313 Compile zshlib inside temporary directory 2022-04-25 05:54:13 +02:00
Rezart Qelibari bc27890c08 Move checkCommands to zshlib 2022-04-22 07:10:52 +02:00
Rezart Qelibari 5be8a9c13d Install rcm cli tool 2022-04-21 00:28:30 +02:00
Rezart Qelibari 150934bee5 Merge all trap calls to stop override 2022-04-20 05:53:37 +02:00
Rezart Qelibari 2bd066c243 Show cursor after script has run 2022-04-20 00:58:57 +02:00
Rezart Qelibari 08214f99aa Preserve brew git remotes env variables for sudo 2022-04-20 00:46:45 +02:00
Rezart Qelibari dd6e47a502 Fix typo 2022-04-20 00:46:21 +02:00
Rezart Qelibari 65ad175cf4 Handle zwc autoloading case too 2022-04-20 00:39:03 +02:00
Rezart Qelibari 0edd5f546a Add 08-install-zsh-libraries.sh 2022-04-19 09:16:37 +02:00
Rezart Qelibari 962e5b54fc Update option filter function 2022-04-19 08:25:51 +02:00
Rezart Qelibari 5e65a5cd2c Update ocr command 2022-04-19 06:26:37 +02:00
Rezart Qelibari 3836b8195c Install docopts too 2022-04-19 06:12:44 +02:00
Rezart Qelibari a6b1759302 Use install to create directories for modules 2022-04-19 05:43:22 +02:00
Rezart Qelibari 203cef9bf6 Add 07-install-binaries.sh module 2022-04-07 00:38:42 +02:00
Rezart Qelibari 7205af985f Add 06-install-mas-apps.sh module 2022-04-06 19:47:07 +02:00
Rezart Qelibari dd3ea08ea1 Activate brew-updater launch daemons immediately 2022-04-06 19:32:30 +02:00
Rezart Qelibari 9385a345b4 Add 05-install-remap-keys.sh module 2022-04-06 19:32:25 +02:00
Rezart Qelibari 77c0ac8cdf Split prerequisites check into three stages 2022-04-06 16:43:21 +02:00
Rezart Qelibari 7f55fb66f8 Prevent print from parsing usage string options 2022-04-06 11:30:04 +02:00
Rezart Qelibari d2139d7b38 Update zshlib 2022-04-05 19:48:16 +02:00
Rezart Qelibari f49452fff1 Add 04-install-brew-apps.sh module 2022-04-05 19:48:16 +02:00
Rezart Qelibari f9131f8682 Add possiblity to check only runtime dependencies 2022-04-05 19:48:16 +02:00
Rezart Qelibari 4296814786 Add MACOS_SYSTEM_DEBUG 2022-04-05 19:48:16 +02:00
Rezart Qelibari 449762383d Add vim filetype comment to module 2022-04-05 19:48:16 +02:00
Rezart Qelibari 9974bce07c Indent here doc with tabs 2022-04-05 19:48:14 +02:00
Rezart Qelibari b96fe10a72 Use hostname as default for computr name 2022-04-05 19:47:44 +02:00
Rezart Qelibari 0fd4ed6479 Accept answers for show-questions subcommand 2022-04-05 19:47:40 +02:00
Rezart Qelibari 149c34e96e Revert "Stop on first error during installation"
This reverts commit 4e0f5bb3cd.
2022-04-05 19:46:44 +02:00
Rezart Qelibari bbb1b1e77c Add 03-install-brew.sh module 2022-04-05 19:46:38 +02:00
Rezart Qelibari 366bd3c706 Preserve env vars and do shallow copy 2022-04-05 18:47:17 +02:00
Rezart Qelibari 92185876f9 Update zshlib 2022-04-05 18:47:13 +02:00
Rezart Qelibari 4e0f5bb3cd Stop on first error during installation 2022-03-31 12:23:13 +02:00
Rezart Qelibari 6cf66ccc00 Stop option parsing in arguments for lop 2022-03-31 12:23:13 +02:00
Rezart Qelibari 2f8ffef31d Skip preboot update 2022-03-31 12:23:13 +02:00
Rezart Qelibari 782ed62420 Filter password options from log 2022-03-31 12:23:13 +02:00
Rezart Qelibari 547683b980 Improve log messages of module 02 2022-03-31 12:23:13 +02:00
Rezart Qelibari 3289d2fbbf Update zshlib 2022-03-31 12:23:13 +02:00
Rezart Qelibari 3b70137c27 Hide cursor during installation run 2022-03-31 12:23:13 +02:00
Rezart Qelibari 471d41bf11 Disable tty echo during installation run 2022-03-31 12:23:13 +02:00
Rezart Qelibari 0a604dbd69 Fix misspelling 2022-03-31 12:23:13 +02:00
Rezart Qelibari 3a2513ee60 Remove double call to configureBasicSystem 2022-03-31 12:23:13 +02:00
Rezart Qelibari 70dfb1439c Add user picture using dscl 2022-03-31 12:23:13 +02:00
Rezart Qelibari 74d74bc1f6 Pass verbosity level down to modules 2022-03-31 12:23:13 +02:00
Rezart Qelibari 5c0c73f5e8 Use new lop and indicateActivity 2022-03-31 12:23:13 +02:00
Rezart Qelibari 322a2aa757 Use loadModules and askUserModuleQuestions 2022-03-31 12:23:13 +02:00
Rezart Qelibari 79693877b2 Stop docopts from parsing arguments as options 2022-03-31 12:23:13 +02:00
Rezart Qelibari 910f795800 Update lop commands 2022-03-31 12:23:13 +02:00
Rezart Qelibari df35017435 Do not replace newline with tr 2022-03-31 12:23:13 +02:00
Rezart Qelibari 68c7b399c5 Add debug output to 02-create-filevault-user 2022-03-31 12:23:13 +02:00
Rezart Qelibari 690a4e0f4d Reset module options for each module in install.sh 2022-03-31 12:19:49 +02:00
Rezart Qelibari 5e78c1ed97 Make git branch change quite in bootstrap.sh 2022-03-01 12:29:14 +01:00
Rezart Qelibari 91b1b6ecd1 Add DOCOPTS_URL to bootstrap.sh 2022-03-01 12:26:53 +01:00
Rezart Qelibari 7619c10845 Add color output & error handling to bootstrap.sh 2022-03-01 11:25:34 +01:00
Rezart Qelibari 45711e79c5 Log install module call 2022-02-28 08:27:04 +02:00
Rezart Qelibari f802d9c8ea Use default username/fullname hint only with value 2022-02-28 08:26:06 +02:00
Rezart Qelibari 9841c026cf Allow branch specification in bootstrap.sh 2022-02-28 07:53:38 +02:00
Rezart Qelibari 2632299ac4 Add color to bootstrap.sh output 2022-02-28 06:59:02 +02:00
Rezart Qelibari 803db08906 Add current dir at end of path instead of front 2022-02-27 10:48:26 +02:00
Rezart Qelibari db53df3358 Add 02-create-filevault-user.sh module 2022-02-18 20:16:10 +01:00
Rezart Qelibari eae2abbb01 Support validator question argument for select 2022-02-18 19:53:39 +01:00
Rezart Qelibari 90758b2fdd Pass arg $0 to module_main 2022-02-18 19:53:28 +01:00
Rezart Qelibari ead076a8e0 Call getUsage after checking prerequisites in lib 2022-02-18 19:44:31 +01:00
Rezart Qelibari 14f2107edf Move showQuestions to lib.sh 2022-02-18 19:44:31 +01:00
Rezart Qelibari 0f6313e777 Add module_main to lib.sh 2022-02-18 19:44:31 +01:00
Rezart Qelibari 4f9f97d44f Refactor 01-system-settings.sh module 2022-02-18 19:44:31 +01:00
Rezart Qelibari 2afdfff2f2 Update zshlib 2022-02-18 19:44:31 +01:00
Rezart Qelibari b68ed20d47 Compare DEBUG variable as string instead of number 2022-02-18 19:44:31 +01:00
Rezart Qelibari 0322e24aa0 Add 01-system-settings.sh module 2022-02-18 19:44:31 +01:00
Rezart Qelibari 1129a4bdd4 Add comments to bootstrap.sh steps 2022-02-18 19:44:31 +01:00
Rezart Qelibari 88794bca33 Create library for modules written as ZSH scripts 2022-02-18 19:44:31 +01:00
Rezart Qelibari efe91a17b8 Ensure doctops in bootstrap.sh 2022-02-18 19:44:31 +01:00
Rezart Qelibari 2f7f58b2c2 Pass arguments of bootstrap to install.sh 2022-02-18 19:44:31 +01:00
Rezart Qelibari 3a3324e1c5 Introduce elision by removing unnecessary quoting 2022-02-18 19:44:26 +01:00
Rezart Qelibari 8b995d0938 Do not parse trailing semicolon in question args 2022-02-14 17:22:32 +01:00
Rezart Qelibari 141f3faeea Use _DIR instead of pwd 2022-02-14 17:22:32 +01:00
Rezart Qelibari 2b87c97692 Require root to run install.sh 2022-02-14 17:22:32 +01:00
Rezart Qelibari 713d994ff1 Write config only in config-only mode 2022-02-14 17:22:25 +01:00
Rezart Qelibari 1011552725 Fix misspelled lop command 2022-02-13 23:23:49 +01:00
Rezart Qelibari da96cc2cf0 Add default arg to info question type 2022-02-13 23:14:56 +01:00
Rezart Qelibari 302956c7e1 Export ASTZWEIG_ZSHLIB in install.sh 2022-02-13 22:27:49 +01:00
Rezart Qelibari ca8b8d0b7a Insert colon at RIF scheme in README 2022-02-13 22:27:05 +01:00
Rezart Qelibari c472221459 Check prerequisites in install.sh 2022-02-13 21:54:17 +01:00
Rezart Qelibari 460083a95d Ensure docopts installation before using it 2022-02-13 21:04:34 +01:00
Rezart Qelibari 1ba6fd2d6a Use command to ask modules for questions 2022-02-13 21:01:59 +01:00
Rezart Qelibari 594467ec52 Add log messages to install.sh 2022-02-12 20:21:15 +01:00
Rezart Qelibari 216cd329c0 Add options to configure logging 2022-02-12 19:57:36 +01:00
Rezart Qelibari 4eb51e34a7 Allow config generation for later use 2022-02-12 19:28:50 +01:00
Rezart Qelibari 1c3b4b7c62 Update zshlib 2022-02-12 19:20:17 +01:00
Rezart Qelibari 4e78a763ca Install selected modules 2022-02-11 16:05:02 +01:00
Rezart Qelibari fee0acec8b Fix logical error 2022-02-07 20:04:27 +01:00
Rezart Qelibari 73940ad0e6 Use lop instead of hio 2022-02-07 19:45:19 +01:00
Rezart Qelibari bbbb80e531 Add suffix module filtering and module search path 2022-02-07 19:43:04 +01:00
Rezart Qelibari 0338a1e31d Update zshlib 2022-02-07 19:42:52 +01:00
Rezart Qelibari 26f673f2ae Unite common functionality in loadModules 2022-02-07 17:07:59 +01:00