Browse Source

Add completions to asdf plugin (#6046)

Julian Laubstein 6 years ago
parent
commit
c7185c35f3
1 changed files with 5 additions and 0 deletions
  1. 5 0
      plugins/asdf/asdf.plugin.zsh

+ 5 - 0
plugins/asdf/asdf.plugin.zsh

@@ -5,3 +5,8 @@ ASDF_DIR="${ASDF_DIR:-$HOME/.asdf}"
 if [ -f $ASDF_DIR/asdf.sh ]; then
     . $ASDF_DIR/asdf.sh
 fi
+
+# Load asdf completions, if found.
+if [ -f $ASDF_DIR/completions/asdf.bash ]; then
+    . $ASDF_DIR/completions/asdf.bash
+fi