21 Commits

Author SHA1 Message Date
gaschz
819e502a8c
Merge branch 'ben-grande:main' into aliases 2025-08-02 18:56:13 +02:00
Ben Grande
e7cebe4551
fix: load alias variable once 2025-06-18 19:17:20 +02:00
Ben Grande
45a0acb222
feat: support truecolor
- Standardize capability usage with the terminfo database for
  portability. POSIX tput does declare only the basic options such as
  'init', 'reset' and 'clear', leaving the rest unspecified, that is not
  ideal but hard coding escape sequences is way worse.
- Set colorization options based on number of colors the terminal
  supports and not the TERM variable when possible. This is incomplete,
  terminal emulators may support or adapt more than it is advertised,
  but involves using DECRQSS queries and delays, as an example, 'resize'
  utility from XTerm uses 3 seconds as delay, this is worrisome.
- Term with only '-direct' variants without ending with 256 means it
  only supports direct-color indexing, therefore 'tmux-direct' cannot be
  used, but the non-multiplexer terminal 'xterm-direct256' can.
2025-03-27 11:42:50 +01:00
Ben Grande
11bc58a4dd
fix: unset local variables exported to environment 2025-02-27 15:25:16 +01:00
002e0354ab
add custom aliases 2025-02-08 16:53:08 +01:00
Ben Grande
8a6cdd5096
fix: unset global variables 2025-01-24 16:22:36 +01:00
Ben Grande
a7d2876bb4
fix: standardize shell escape character to octal
URxvt requires octal for keysym while others do not and querying a
single one is easier.
2025-01-22 17:42:01 +01:00
Ben Grande
d13a21a734
fix: avoid echo usage
Echo can interpret operand as an option and checking every variable to
be echoed is troublesome while with printf, if the format specifier is
present before the operand, printing as string can be enforced.
2024-08-06 18:12:46 +02:00
Ben Grande
b38834d66b
fix: avoid operand evaluation as argument
Explicit end option parsing as the shell can be quite dangerous without
it.
2024-08-06 17:13:11 +02:00
Ben Grande
69c14a2429
feat: enable all optional shellcheck validations 2024-07-10 14:35:36 +02:00
Ben Grande
024e9c469d
fix: limit shellscript line length to 78 chars 2024-07-09 17:39:25 +02:00
Ben Grande
5936b2059c
chore: editorconfig check 2024-07-08 19:59:27 +02:00
Ben Grande
5f55627e57
fix: function to target minions missing parameters 2024-06-17 21:42:29 +02:00
Ben Grande
e3c8ab8972
feat: add function to target minions easily 2024-06-17 13:50:52 +02:00
Ben Grande
ab355f9abf
feat: alias to target DomUs with qubesctl 2024-05-25 20:26:15 +02:00
Ben Grande
9954972df3
fix: POSIX does not support head byte count
Test done on OpenBSD for compatibility with the POSIX specification,
also becoming a new supported system.
2024-04-23 18:34:10 +02:00
Ben Grande
701f291daa
fix: shell stops parsing early 2024-02-19 12:05:27 +01:00
Ben Grande
076ea43eaf
fix: whonix uwt git command not found 2024-02-09 14:45:27 +01:00
Ben Grande
0ef9267754
fix: whonix uwt wrapper messes with git existence 2024-01-31 16:12:00 +01:00
Ben Grande
cca2e802b7
fix: phase out split-gpg in favor of split-gpg2 2023-12-28 01:36:51 +01:00
Ben Grande
db0d57cfcf
Initial commit 2023-11-13 14:11:21 +00:00