Remove compopt -o nospace from --{close,open}-acct handler
This commit is contained in:
parent
0f8c01f033
commit
3eccfb85e0
@ -260,7 +260,7 @@ _hledger_compreply_optarg() {
|
|||||||
_hledger_compreply "$(compgen -W "$wordlist" -- "$match")"
|
_hledger_compreply "$(compgen -W "$wordlist" -- "$match")"
|
||||||
;;
|
;;
|
||||||
--close-acct|--open-acct)
|
--close-acct|--open-acct)
|
||||||
compopt -o nospace -o filenames
|
compopt -o filenames
|
||||||
_hledger_compreply "$(
|
_hledger_compreply "$(
|
||||||
_hledger_compgen "$(_hledger accounts --flat)" "" "$match"
|
_hledger_compgen "$(_hledger accounts --flat)" "" "$match"
|
||||||
)"
|
)"
|
||||||
|
|||||||
@ -260,7 +260,7 @@ _hledger_compreply_optarg() {
|
|||||||
_hledger_compreply "$(compgen -W "$wordlist" -- "$match")"
|
_hledger_compreply "$(compgen -W "$wordlist" -- "$match")"
|
||||||
;;
|
;;
|
||||||
--close-acct|--open-acct)
|
--close-acct|--open-acct)
|
||||||
compopt -o nospace -o filenames
|
compopt -o filenames
|
||||||
_hledger_compreply "$(
|
_hledger_compreply "$(
|
||||||
_hledger_compgen "$(_hledger accounts --flat)" "" "$match"
|
_hledger_compgen "$(_hledger accounts --flat)" "" "$match"
|
||||||
)"
|
)"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user