Skip to content

Commit

Permalink
Auto merge of #6462 - pavel-zhigulin:fix_issue_��#6461, r=ehuss
Browse files Browse the repository at this point in the history
[issue#6461] Fix cargo commands list

Fixes #6461 -  cargo autocompletion script
  • Loading branch information
bors committed Dec 20, 2018
2 parents 7cbf886 + 56fec5c commit d35f1bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/etc/cargo.bashcomp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ _cargo()
} &&
complete -F _cargo cargo

__cargo_commands=$(cargo --list 2>/dev/null | tail -n +2)
__cargo_commands=$(cargo --list 2>/dev/null | awk 'NR>1 {print $1}')

_locate_manifest(){
local manifest=`cargo locate-project 2>/dev/null`
Expand Down

0 comments on commit d35f1bd

Please sign in to comment.