mirror of
https://github.com/zsh-users/zsh-completions.git
synced 2026-12-06 16:08:42 +08:00
[Fix] awk regex for all php console based commands
This commit is contained in:
1 parent
03869b1157
commit
97402d4ab8
4 files changed
+6
-6
No files matched your search
+1
-1
@@ -40,7 +40,7 @@
|
||||
|
||||
|
||||
_console_get_command_list () {
|
||||
php console | sed "1,/Available commands/d" | awk '/^ [a-z]+/ { print $1 }'
|
||||
php console | sed "1,/Available commands/d" | awk '/ [a-z]+/ { print $1 }'
|
||||
}
|
||||
|
||||
_console () {
|
||||
|
||||
Reference in new issue
Block a user