Commit 66df117a authored by nimrod's avatar nimrod
Browse files

Continue if generating Bash completion fails.

parent 59d17c63
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@ set -eu

gen_completion () {
    executable="$1"
    ! command -v "$executable" > /dev/null || "$@" > "$HOME/.bash_completion.d/$executable"
    ! command -v "$executable" > /dev/null || "$@" > "$HOME/.bash_completion.d/$executable" || true
}

gen_completion pandoc --bash-completion