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 Jan 25, 2022
1 parent 2a151ad commit 4211d37
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 40 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
40 changes: 0 additions & 40 deletions completion/available/svn.completion.bash

This file was deleted.

0 comments on commit 4211d37

Please sign in to comment.