mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-27 14:45:13 +08:00
scp completions: remove inappropriate opt '-q' from string match -eq
cmd
This commit is contained in:
parent
d2b814bb7c
commit
c2dbe36e4a
@ -52,7 +52,7 @@ complete -c scp -d "Local Path" -n "not string match @ -- (commandline -ct)"
|
|||||||
# Remote path
|
# Remote path
|
||||||
#
|
#
|
||||||
# Get the list of remote files from the scp target.
|
# Get the list of remote files from the scp target.
|
||||||
complete -c scp -d "Remote Path" -f -n "commandline -ct | string match -eq ':'" -a "
|
complete -c scp -d "Remote Path" -f -n "commandline -ct | string match -e ':'" -a "
|
||||||
(__scp_remote_target):( \
|
(__scp_remote_target):( \
|
||||||
command ssh (__scp2ssh_port_number) -o 'BatchMode yes' (__scp_remote_target) /bin/ls\ -dp\ (__scp_remote_path_prefix)\* 2>/dev/null
|
command ssh (__scp2ssh_port_number) -o 'BatchMode yes' (__scp_remote_target) /bin/ls\ -dp\ (__scp_remote_path_prefix)\* 2>/dev/null
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user