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
Rezart Qelibari
d602eafdc1
Add -l option to install.sh
2022-02-04 15:06:39 +01:00
Rezart Qelibari
7943cf9c78
Indent here doc with tabs
2022-02-04 15:00:05 +01:00
Rezart Qelibari
0a817025b4
Fix logical error
2022-02-04 14:58:44 +01:00
Rezart Qelibari
88e71a3fe5
Use outer array in filterModules
2022-02-04 14:58:17 +01:00
Rezart Qelibari
9feb138b39
Add modules automatically to allModules
2022-02-04 14:31:32 +01:00
Rezart Qelibari
948f995f57
Add & implement askNecessaryQuestions
2022-02-04 14:10:57 +01:00
Rezart Qelibari
366047fb20
Autoload zshlib functions for shellspec
2022-02-04 14:10:19 +01:00
Rezart Qelibari
765a35e4d0
Add process idea to README
2022-02-04 14:08:26 +01:00
Rezart Qelibari
b9af20bae5
Update zshlib
2022-02-03 19:46:54 +01:00
Rezart Qelibari
27b18da190
Update zshlib
2022-01-31 13:37:07 +01:00
Rezart Qelibari
a33958a1fb
Add module filtering to install.sh/main
2022-01-28 19:31:27 +01:00
Rezart Qelibari
eee681bae9
Limit find to maxdepth 1 when searching zshlib
2022-01-28 17:46:17 +01:00
Rezart Qelibari
60c1356158
Add vim modeline
2022-01-23 19:12:20 +01:00
Rezart Qelibari
505f808d42
Add return to trap command
...
Without `return` the SIGINT is ignored (the trap arg gets executed
properly though).
2022-01-23 19:05:22 +01:00
Rezart Qelibari
c141b2f1f2
Clean up even in case of SIGINT and SIGTERM
...
ZSHs `trap EXIT` does not handle interrupt or termination signals.
2022-01-23 18:35:48 +01:00
Rezart Qelibari
b70d93d73a
Fix typo
2022-01-23 18:35:33 +01:00
Rezart Qelibari
07aa9a5d01
Use local variable value for trap at parse time
...
`trap` can not access the value of a variable defined as local once the
function body is left. So we use the value of the variable at parse time
instead of trying to access the value at runtime of the `trap` command.
2022-01-23 18:19:36 +01:00
Rezart Qelibari
8e60af9430
Do not delete temporary dir if DEBUG is set
...
To inspect the state of the application it is useful to checkout the
directory content of the temporary working directory. Setting the DEBUG
variable to either 1 or true stops bootstrap.sh to delete that directory,
which it does regardless if the app finished successfully or because of
an error.
2022-01-23 18:15:36 +01:00
Rezart Qelibari
069e13b863
Allow different repo urls in bootstrap.sh for dev
...
Having to clone from github or a remote repository in general during
development is a waste of bandwidth, time and does not work during
development while a change is being tested and not yet commited or
pushed. Now remote urls can be configured through two env variables:
MACOS_SYSTEM_REPO_URL and ZSHLIB_REPO_URL.
2022-01-23 17:57:14 +01:00
Rezart Qelibari
b051463245
Autoload zshlib functions
2022-01-23 17:09:39 +01:00
Rezart Qelibari
a80e1ed88f
Run git quietly
2022-01-23 17:09:39 +01:00
Rezart Qelibari
621ca56eca
Add astzweig/zshlib as submodule
2022-01-23 17:09:26 +01:00
Rezart Qelibari
74494ab45d
Let the journey begin
2022-01-23 00:15:39 +01:00