mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-29 00:10:12 +08:00
Fix get command list for recent composer versions
This commit is contained in:
parent
13e5afe805
commit
0cc3afe277
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
# Composer basic command completion
|
# Composer basic command completion
|
||||||
_composer_get_command_list () {
|
_composer_get_command_list () {
|
||||||
composer --no-ansi | sed "1,/Available commands/d" | awk '/^ [a-z]+/ { print $1 }'
|
composer --no-ansi | sed "1,/Available commands/d" | awk '/^\s*[a-z]+/ { print $1 }'
|
||||||
}
|
}
|
||||||
|
|
||||||
_composer_get_required_list () {
|
_composer_get_required_list () {
|
||||||
|
Loading…
Reference in New Issue
Block a user