Skip to content

Commit 2cc64a2

Browse files
joshzcoldTheLocehiliosan
authored andcommitted
remove extra lines
1 parent 2989734 commit 2cc64a2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

completion/zsh/_yadm

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,8 @@ function _yadm-add(){
1212
yadm_path="$(yadm rev-parse --show-toplevel)"
1313
yadm_options=($(yadm status --porcelain=v1 |
1414
awk -v yadm_path=${yadm_path} '{printf "%s/%s:%s\n", yadm_path, $2, $1}' ))
15-
local expl
16-
local line=( $yadm_options[1,CURRENT-1] )
1715

18-
_describe 'command' yadm_options -F line
16+
_describe 'command' yadm_options
1917
_files
2018
}
2119

0 commit comments

Comments
 (0)