Add back in the descriptions
This commit is contained in:
parent
7573e18a89
commit
2989734359
1 changed files with 4 additions and 2 deletions
|
@ -11,9 +11,11 @@ function _yadm-add(){
|
|||
local -a yadm_options yadm_path
|
||||
yadm_path="$(yadm rev-parse --show-toplevel)"
|
||||
yadm_options=($(yadm status --porcelain=v1 |
|
||||
awk -v yadm_path=${yadm_path} '{printf "%s/%s ", yadm_path, $2}' ))
|
||||
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
|
||||
_describe 'command' yadm_options -F line
|
||||
_files
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue