Skip to content

Commit

Permalink
Bash completion: support arbitrary toolchain names.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Sep 16, 2018
1 parent 8dee4e4 commit 3ae7f03
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/etc/cargo.bashcomp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,8 @@ _toolchains(){
result+=("+${BASH_REMATCH[1]}-${BASH_REMATCH[3]}")
fi
result+=("+$line")
else
result+=("+$line")
fi
done <<< "$toolchains"
echo "${result[@]}"
Expand Down

0 comments on commit 3ae7f03

Please sign in to comment.