mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-10-02 16:03:47 +02:00
Fix: "\s" is a gawk-specific regexp operator.
This commit is contained in:
1 parent
5ee54032da
commit
8b5950b812
1 file changed
+1
-1
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
# Composer basic command completion
|
# Composer basic command completion
|
||||||
_composer_get_command_list () {
|
_composer_get_command_list () {
|
||||||
$_comp_command1 --no-ansi | sed "1,/Available commands/d" | awk '/^\s*[a-z]+/ { print $1 }'
|
$_comp_command1 --no-ansi | sed "1,/Available commands/d" | awk '/^[ \t]*[a-z]+/ { print $1 }'
|
||||||
}
|
}
|
||||||
|
|
||||||
_composer_get_required_list () {
|
_composer_get_required_list () {
|
||||||
|
|||||||
Reference in new issue
Block a user