From c2dbe36e4ad6b55637c1161c56b6ad7f2ed08b6d Mon Sep 17 00:00:00 2001 From: Roman Beranek Date: Wed, 30 Oct 2019 13:00:17 +0100 Subject: [PATCH] scp completions: remove inappropriate opt '-q' from `string match -eq` cmd --- share/completions/scp.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/completions/scp.fish b/share/completions/scp.fish index feae1a8c6..c7b05ac3f 100644 --- a/share/completions/scp.fish +++ b/share/completions/scp.fish @@ -52,7 +52,7 @@ complete -c scp -d "Local Path" -n "not string match @ -- (commandline -ct)" # Remote path # # 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):( \ command ssh (__scp2ssh_port_number) -o 'BatchMode yes' (__scp_remote_target) /bin/ls\ -dp\ (__scp_remote_path_prefix)\* 2>/dev/null )