Remove compopt -o nospace from --{close,open}-acct handler

This commit is contained in:
Vladimir Zhelezov 2020-12-14 06:35:15 +01:00
parent 0f8c01f033
commit 3eccfb85e0
2 changed files with 2 additions and 2 deletions

View File

@ -260,7 +260,7 @@ _hledger_compreply_optarg() {
_hledger_compreply "$(compgen -W "$wordlist" -- "$match")"
;;
--close-acct|--open-acct)
compopt -o nospace -o filenames
compopt -o filenames
_hledger_compreply "$(
_hledger_compgen "$(_hledger accounts --flat)" "" "$match"
)"

View File

@ -260,7 +260,7 @@ _hledger_compreply_optarg() {
_hledger_compreply "$(compgen -W "$wordlist" -- "$match")"
;;
--close-acct|--open-acct)
compopt -o nospace -o filenames
compopt -o filenames
_hledger_compreply "$(
_hledger_compgen "$(_hledger accounts --flat)" "" "$match"
)"