Skip to content

Commit

Permalink
Add -s auto-completion for zsh
Browse files Browse the repository at this point in the history
Fixes #3522 <#3522>
PR #3523 <#3523>

Signed-off-by: Romain Vimont <[email protected]>
  • Loading branch information
animaone authored and rom1v committed Oct 12, 2022
1 parent 0efc10b commit 92c8480
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/data/zsh-completion/_scrcpy
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ arguments=(
'--record-format=[Force recording format]:format:(mp4 mkv)'
'--render-driver=[Request SDL to use the given render driver]:driver name:(direct3d opengl opengles2 opengles metal software)'
'--rotation=[Set the initial display rotation]:rotation values:(0 1 2 3)'
{-s,--serial=}'[The device serial number \(mandatory for multiple devices only\)]'
{-s,--serial=}'[The device serial number \(mandatory for multiple devices only\)]:serial:($("${ADB-adb}" devices | awk '\''$2 == "device" {print $1}'\''))'
'--shortcut-mod=[\[key1,key2+key3,...\] Specify the modifiers to use for scrcpy shortcuts]:shortcut mod:(lctrl rctrl lalt ralt lsuper rsuper)'
{-S,--turn-screen-off}'[Turn the device screen off immediately]'
{-t,--show-touches}'[Show physical touches]'
Expand Down

0 comments on commit 92c8480

Please sign in to comment.