mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 13:39:02 +00:00
a step to remove __fish_sgrep per issue #2450
This commit is contained in:
parent
9d25b52208
commit
ae03df4bc4
1 changed files with 4 additions and 4 deletions
|
@ -57,25 +57,25 @@ complete -c mplayer -o utf8 --description "Handle subtitlefile as utf8"
|
|||
|
||||
complete -c mplayer -o vo -x --description "Video output" -a "
|
||||
(
|
||||
mplayer -vo help| __fish_sgrep \t.\*\t'\|^ *[a-zA-Z0-9][a-zA-Z0-9]* '|sed -e 's/[\t ]*\([a-zA-Z0-9]*\)[\t ]*\(.*\)/\1'\t'\2/'
|
||||
mplayer -vo help | string match -ar '\t.*\t.*|^ *[a-zA-Z0-9]+ ' | sed -e 's/[\t ]*\([a-zA-Z0-9]*\)[\t ]*\(.*\)/\1'\t'\2/'
|
||||
)
|
||||
"
|
||||
|
||||
complete -c mplayer -o ao -x --description "Audio output" -a "
|
||||
(
|
||||
mplayer -ao help| __fish_sgrep \t.\*\t'\|^ *[a-zA-Z0-9][a-zA-Z0-9]* '|sed -e 's/[\t ]*\([a-zA-Z0-9]*\)[\t ]*\(.*\)/\1'\t'\2/'
|
||||
mplayer -ao help | string match -ar '\t.*\t|^ *[a-zA-Z0-9]+ ' | sed -e 's/[\t ]*\([a-zA-Z0-9]*\)[\t ]*\(.*\)/\1'\t'\2/'
|
||||
)
|
||||
"
|
||||
|
||||
complete -c mplayer -o afm -x --description "Audio output" -a "
|
||||
(
|
||||
__fish_append ',' (mplayer -afm help| __fish_sgrep \t.\*\t'\|^ *[a-zA-Z0-9][a-zA-Z0-9]* '|sed -e 's/[\t ]*\([a-zA-Z0-9]*\)[\t ]*\(.*\)/\1'\t'\2/')
|
||||
__fish_append ',' (mplayer -afm help | string match -ar '\t.*\t|^ *[a-zA-Z0-9]+ ' | sed -e 's/[\t ]*\([a-zA-Z0-9]*\)[\t ]*\(.*\)/\1'\t'\2/')
|
||||
)
|
||||
"
|
||||
|
||||
complete -c mplayer -o vfm -x --description "Video output" -a "
|
||||
(
|
||||
__fish_append ',' (mplayer -vfm help| __fish_sgrep \t.\*\t'\|^ *[a-zA-Z0-9][a-zA-Z0-9]* '|sed -e 's/[\t ]*\([a-zA-Z0-9]*\)[\t ]*\(.*\)/\1'\t'\2/')
|
||||
__fish_append ',' (mplayer -vfm help | string match -ar '\t.*\t|^ *[a-zA-Z0-9]+ ' | sed -e 's/[\t ]*\([a-zA-Z0-9]*\)[\t ]*\(.*\)/\1'\t'\2/')
|
||||
)
|
||||
"
|
||||
|
||||
|
|
Loading…
Reference in a new issue