1. Randy Stauner
  2. run_control

Commits

Randy Stauner  committed c964d10

Shorten dl completion func name for consistency

  • Participants
  • Parent commits 1f1ce40
  • Branches master

Comments (0)

Files changed (1)

File scripts/contrib.sh

View file
  • Ignore whitespace
   chmod 0755 "$dest"
 }
 
-function dl_completion () {
+function dl_cmp () {
   dl "$completion/$1.bashrc" "$2"
 }
 
 if [[ -e $dzil_repo_comp ]]; then
   ln -s $dzil_repo_comp $completion/dzil.bashrc
 else
-  dl_completion dzil https://github.com/rjbs/dist-zilla/raw/master/misc/dzil-bash_completion
+  dl_cmp dzil https://github.com/rjbs/dist-zilla/raw/master/misc/dzil-bash_completion
 fi
 
-dl_completion vagrant   https://github.com/mitchellh/vagrant/raw/master/contrib/bash/completion.sh
-dl_completion django https://github.com/django/django/raw/master/extras/django_bash_completion
+dl_cmp  vagrant   https://github.com/mitchellh/vagrant/raw/master/contrib/bash/completion.sh
+dl_cmp  django    https://github.com/django/django/raw/master/extras/django_bash_completion
 
 dl_bin  es      http://download.elasticsearch.org/es2unix/es
 dl_bin  jq      http://stedolan.github.io/jq/download/linux${bit}/jq