Robert Helgesson
a04f37fab0
treewide: deprecate DRY_RUN_CMD
and DRY_RUN_NULL
...
As a replacement, this adds the `run` helper function.
2024-04-10 21:27:15 +02:00
Robert Helgesson
8cbc6500df
lib/bash: make call to tput more robust
...
Specifically, if `tput colors` fails with an error we treat that as if
the terminal does not support colors.
Fixes #423
Suggested-by: PhotonQuantum <self@lightquantum.me>
2022-10-13 11:56:47 +02:00
Robert Helgesson
8eaa3ba56e
lib/bash: remove unused Bash library files
...
The color echo functions are provided by `lib/bash/home-manager.sh`.
2022-10-13 11:56:46 +02:00
Robert Helgesson
9bcad20013
home-manager: add basic i18n support
...
The support for translated strings is, for now, limited to strings
generated in Bash code.
2021-12-13 21:47:28 +01:00