Commit graph

11 commits

Author SHA1 Message Date
Alexander Gehrke 172310d89c g-add: add missing with-term script 2021-12-02 22:41:21 +01:00
Alexander Gehrke cd33a054b8 shell-wrappers: extend g-add script to allow non-tmux sessions 2021-12-02 22:41:17 +01:00
Alexander Gehrke 1cbf990219 Fix term-wrapper-kitty with no arguments 2021-08-06 17:27:37 +02:00
Alexander Gehrke 8f10d90f2c Add flatpak dependency handling 2021-08-06 17:27:14 +02:00
Alexander Gehrke 7ba3dba2bc Add wrappers for terminals to make scripts terminal-agnostic
Scripts launching a terminal will now require x-terminal-emulator in the
path. A symlink for it can be created using `select-term.zsh`.
2021-07-05 13:11:42 +02:00
Alexander Gehrke 1525fde47c Move g to lib, as it should only be symlinked under different names 2021-05-20 22:02:01 +02:00
Alexander Gehrke 7c14c8ae1a install.zsh: allow alternatives in deps
Specify a dependency as a|b to check if either a or b is available as a
command. The script itself must check at runtime, which one is actually
available and use the right one. Helper methods for this are provided in
lib/common.zsh:
  - `alternatives a b` aliases a to b, if a is not available
  - `alternatives-noparam a b` replaces a with b, if a is not available,
    and discards any parameters (e.g. for replacing a formatter with cat)
2021-01-11 12:29:39 +01:00
Alexander Gehrke 7f01de0a51 New script: pypi-release 2020-07-20 16:34:20 +02:00
Alexander Gehrke 0b1b1344d7 Add "exists" to check for command in scripts 2020-04-07 11:15:53 +02:00
crater2150 b1b6b52fc8 Nicer output when skipping installs 2020-04-02 11:12:27 +02:00
Alexander Gehrke 3d67598c27 Restructuring the repo 2020-04-02 10:38:36 +02:00