Commit Graph

5 Commits

Author SHA1 Message Date
b1d396babd *: Use /usr/bin/env in shebangs for bash & zsh
To increase the portability (OSX for example has zsh under `/bin/zsh`).
2021-07-14 13:48:21 +02:00
druckdev
4cb445c2b5 shell-scripts: Use [[ instead of [ where possible
Replace all occurrences of [ with [[ in bash and zsh scripts and
configs.
Performance wise it makes sense to use the builtin instead of calling an
external command also when from a functionality stand point `test` would
suffice.
2020-10-03 01:29:29 +02:00
druckdev
b444a942c2 Make dotbot helper-scripts executable 2020-09-15 03:39:46 +02:00
druckdev
9566bd96c3 Improve meta/submodules --init
Keep output of git "live" (Meaning that one can see live what submodule
is currently pulled) by not saving it first and then grepping but by
catching a failing grep when the output of git was empty.
2020-08-25 14:24:06 +02:00
druckdev
b384854a4f Move long commands from dotbot config into scripts
Move long commands from the dotbot config into own scripts to keep the
install.conf.yaml more readable.
Fix bug that the submodule init step fails when already done once since
then the grep statement fails because there is no output.
2020-08-25 14:24:04 +02:00