Skip to content
Snippets Groups Projects
Commit 38421b3b authored by nimrod's avatar nimrod
Browse files

Continue if generating Bash completion fails.

parent 62681a73
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment