autocompl and details with accureate time
This commit is contained in:
@@ -162,11 +162,11 @@ _get_completer() {
|
||||
local curr_arg
|
||||
curr_arg=${COMP_WORDS[COMP_CWORD]}
|
||||
if [[ $COMP_CWORD -eq 1 ]]; then
|
||||
COMPREPLY=( $(compgen -W "help autocomplete list write delete update" -- $curr_arg ) );
|
||||
COMPREPLY=( $(compgen -W "help autocomplete list write delete show update" -- $curr_arg ) );
|
||||
fi
|
||||
if [[ $COMP_CWORD -eq 2 ]]; then
|
||||
case ${COMP_WORDS[$(( $COMP_CWORD - 1 ))]} in
|
||||
delete)
|
||||
delete|show)
|
||||
local remotelist=$( eval MFL_EXEC simplelist )
|
||||
COMPREPLY=( $(compgen -W "$remotelist" -- $curr_arg ) );
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user