diff --git a/scripts/dev/update-shell-completions.sh b/scripts/dev/update-shell-completions.sh new file mode 100755 index 0000000..fa912e5 --- /dev/null +++ b/scripts/dev/update-shell-completions.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +set -xue + +cabal --verbose=0 run ghcup:exe:ghcup -- --bash-completion-script ghcup > scripts/shell-completions/bash +cabal --verbose=0 run ghcup:exe:ghcup -- --zsh-completion-script ghcup > scripts/shell-completions/zsh +cabal --verbose=0 run ghcup:exe:ghcup -- --fish-completion-script ghcup > scripts/shell-completions/fish +