Skip to content

Commit 56fec5c

Browse files
author
Zhigulin Pavel
committed
Remove tail call
1 parent bc9e3f6 commit 56fec5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/etc/cargo.bashcomp.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ _cargo()
120120
} &&
121121
complete -F _cargo cargo
122122

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

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

0 commit comments

Comments
 (0)