mirror of
https://github.com/zsh-users/zsh-completions.git
synced 2026-09-17 16:00:19 +00:00
Don't use sed gnu extension, use POSIX syntax
This commit is contained in:
@@ -137,7 +137,7 @@ _yarn_add_files() {
|
||||
}
|
||||
|
||||
_yarn_workspaces() {
|
||||
local -a workspaces=(${(@f)$(yarn workspaces info |sed -n -r -e 's/^ "([^"]+)": \{/\1/p')})
|
||||
local -a workspaces=(${(@f)$(yarn workspaces info |sed -n -e 's/^ "\([^"]*\)": {/\1/p')})
|
||||
_describe 'workspace' workspaces
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user