sq/.completions.sh

10 lines
217 B
Bash
Raw Normal View History

#!/bin/sh
# ".completions.sh regenerates completions to "./completions".
set -e
rm -rf completions
mkdir completions
for sh in bash zsh fish powershell; do
go run main.go completion "$sh" >"completions/sq.$sh"
done