Commit Graph

5 Commits

Author SHA1 Message Date
7666086dba *: Move die() into .local/bin/helpers.sh
The function `die` was redundantly implemented in various files.

Move the function into .local/bin/helpers.sh and source that where
previously implemented.

Also prepend the program's name to the message and always terminate the
message with a newline. The newline was previously needed for a small
but unnecessary hack that prevented the need of the `[ -z "$1" ]` test.
2022-09-22 14:39:20 +02:00
e14758170e meta:git-remote: Add origin as fallback remote
In the rare case that no remote url containing `druckdev/dotfiles`
exists, this should still (try to) work.
This could be the case if I rename my username or the repo or in the
even rarer case that somebody forks this... Quite ambitious.
2022-01-22 00:13:55 +01:00
4c3dfc4c52 meta:git-remote: Don't hardcode origin as remote
As I know how the url should look like I can allow the default remote
being named differently.
2022-01-22 00:02:36 +01:00
0e1c14c3e7 meta:git-remote: Replace here strings with printfs
Some implementations of `sh` seem to not support it.
2020-12-22 16:44:24 +01:00
druckdev
18d39e4d95 meta:install: Change shell and git remote to ssh 2020-11-10 03:03:56 +01:00