remove extra lines

pull/425/head
Joshua Cold 2 years ago committed by Tim Byrne
parent 2989734359
commit 2cc64a2fa0
No known key found for this signature in database
GPG Key ID: 14DB4FC2465A4B12

@ -12,10 +12,8 @@ function _yadm-add(){
yadm_path="$(yadm rev-parse --show-toplevel)"
yadm_options=($(yadm status --porcelain=v1 |
awk -v yadm_path=${yadm_path} '{printf "%s/%s:%s\n", yadm_path, $2, $1}' ))
local expl
local line=( $yadm_options[1,CURRENT-1] )
_describe 'command' yadm_options -F line
_describe 'command' yadm_options
_files
}

Loading…
Cancel
Save