Skip to content

Commit

Permalink
completion/subversion: load system completion
Browse files Browse the repository at this point in the history
Load the completion script from the subversion package installed on the system, instead of bundling a copy. This addresses Bash-it#1818.

NOTE: If `completions/system` is enabled, then it will load this same file anyway automatically.
  • Loading branch information
gaelicWizard committed Sep 17, 2021
1 parent 35e307c commit 8ff509f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1,514 deletions.
7 changes: 7 additions & 0 deletions completion/available/subversion.completion.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# shellcheck shell=bash

scm
if test -s "${SVN_EXE%/*}/../etc/bash_completion.d/subversion"
then
source "$_"
fi
Loading

0 comments on commit 8ff509f

Please sign in to comment.