hyfetch/tools/gen-autocomplete.sh

9 lines
301 B
Bash
Raw Normal View History

#!/usr/bin/env bash
# Echo all commands
set -x
shtab --shell=bash -u hyfetch.main.create_parser > hyfetch/scripts/autocomplete.bash
shtab --shell=zsh -u hyfetch.main.create_parser > hyfetch/scripts/autocomplete.zsh
shtab --shell=tcsh -u hyfetch.main.create_parser > hyfetch/scripts/autocomplete.csh