Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
de769058
"plugins/vscode:/vscode.git/clone" did not exist on "08f2fc12143175d011d69189679b0ed4c834b5c7"
Commit
de769058
authored
May 09, 2015
by
Andrew Dwyer
Browse files
Fix awk command. \s only working in gawk
parent
00b2cc65
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/n98-magerun/n98-magerun.plugin.zsh
View file @
de769058
...
...
@@ -7,7 +7,7 @@
# n98-magerun basic command completion
_n98_magerun_get_command_list
()
{
n98-magerun.phar
--no-ansi
|
sed
"1,/Available commands/d"
|
awk
'/^
\s
+[a-z]+/ { print $1 }'
n98-magerun.phar
--no-ansi
|
sed
"1,/Available commands/d"
|
awk
'/^
+[a-z
\-:
]+/ { print $1 }'
}
_n98_magerun
()
{
...
...
@@ -15,9 +15,10 @@ _n98_magerun () {
}
compdef _n98_magerun n98-magerun.phar
compdef _n98_magerun n98-magerun
# Aliases
alias
n98
-magerun
=
'n98-magerun.phar'
alias
n98
=
'n98-magerun.phar'
alias
mage
=
'n98-magerun.phar'
alias
magefl
=
'n98-magerun.phar cache:flush'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment