mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 08:39:17 +01:00
zsh completion: handle destination for "convert"
Use directory name completion for -d/--dest option.
This commit is contained in:
parent
19e4f41a72
commit
a903e6649a
1 changed files with 1 additions and 1 deletions
|
|
@ -151,7 +151,7 @@ _beet_subcmd_options() {
|
||||||
libfile=("$matchany" ':file:database file:{_files -g *.db}')
|
libfile=("$matchany" ':file:database file:{_files -g *.db}')
|
||||||
regex_words+=("$opt:$optdesc:\$libfile")
|
regex_words+=("$opt:$optdesc:\$libfile")
|
||||||
;;
|
;;
|
||||||
(DIR|DIRECTORY)
|
(DIR|DIRECTORY|DEST)
|
||||||
local -a dirs
|
local -a dirs
|
||||||
dirs=("$matchany" ':dir:directory:_dirs')
|
dirs=("$matchany" ':dir:directory:_dirs')
|
||||||
regex_words+=("$opt:$optdesc:\$dirs")
|
regex_words+=("$opt:$optdesc:\$dirs")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue