Add utility to generate shell completions
This commit is contained in:
parent
0fb069f4bc
commit
1ffce9ed20
4 changed files with 137 additions and 0 deletions
|
|
@ -134,6 +134,10 @@ if command -v batcat >/dev/null 2>&1 && ! command -v bat >/dev/null 2>&1; then
|
|||
fi
|
||||
|
||||
|
||||
sh "$XDG_BIN_HOME/generate-shell-completions" --quieter \
|
||||
|| echo "WARN: generating shell completions failed" >&2
|
||||
|
||||
|
||||
# Keep only the most recent backups
|
||||
_keep=10
|
||||
if [ -d "$BACKUPS_DIR" ]; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue