fix(zsh): Allow bar name at any pos
This commit is contained in:
parent
cacc11e3a2
commit
184a1c5281
@ -12,7 +12,7 @@ _polybar() {
|
|||||||
'(-c --config)'{-c,--config=}'[Path to the configuration file]:configuration file:_files' \
|
'(-c --config)'{-c,--config=}'[Path to the configuration file]:configuration file:_files' \
|
||||||
'(-r --reload)'{-r,--reload}'[Reload when the configuration has been modified]' \
|
'(-r --reload)'{-r,--reload}'[Reload when the configuration has been modified]' \
|
||||||
'(-m --list-monitors)'{-m,--list-monitors}'[Print list of available monitors and exit]' \
|
'(-m --list-monitors)'{-m,--list-monitors}'[Print list of available monitors and exit]' \
|
||||||
'1:bar name:_polybar_list_names'
|
'*:bar name:_polybar_list_names'
|
||||||
}
|
}
|
||||||
|
|
||||||
(( $+functions[_polybar_list_names] )) || _polybar_list_names() {
|
(( $+functions[_polybar_list_names] )) || _polybar_list_names() {
|
||||||
|
Loading…
Reference in New Issue
Block a user