container: bash: completion: add times
This commit is contained in:
@@ -28,7 +28,7 @@ function docker-finance::completion()
|
||||
mapfile -t _profiles < <(pushd "${DOCKER_FINANCE_CONTAINER_FLOW}"/profiles &>/dev/null && ls -d */*)
|
||||
declare -r _profiles
|
||||
|
||||
local -r _commands=("all" "edit" "fetch" "import" "ledger" "ledger-ui" "ledger-web" "meta" "plugins" "reports" "root" "taxes")
|
||||
local -r _commands=("all" "edit" "fetch" "import" "ledger" "ledger-ui" "ledger-web" "meta" "plugins" "reports" "root" "taxes" "times")
|
||||
|
||||
local _reply
|
||||
|
||||
@@ -91,6 +91,9 @@ function docker-finance::completion()
|
||||
taxes)
|
||||
mapfile -t _reply < <(compgen -W "help all${global_arg_delim_2} tag${global_arg_delim_2} account${global_arg_delim_2} year${global_arg_delim_2} write${global_arg_delim_2}" -- "$_cur")
|
||||
;;
|
||||
times)
|
||||
mapfile -t _reply < <(compgen -W "help" -- "$_cur")
|
||||
;;
|
||||
esac
|
||||
declare -r _reply
|
||||
COMPREPLY=("${_reply[@]}")
|
||||
|
||||
Reference in New Issue
Block a user