From 97acc12d620f6ccb5af2095e6632bf96b872d9ce Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Thu, 2 Oct 2025 18:20:41 +0200 Subject: [PATCH] Fix scp completions Introduced when __fish_mktemp_relative was. Fixes #11860 --- 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 0e01063cd..d8de37b3f 100644 --- a/share/completions/scp.fish +++ b/share/completions/scp.fish @@ -47,7 +47,7 @@ complete -c scp -d "Local Path" -n "not string match @ -- (commandline -ct)" complete -c scp -d "Remote Path" -f -n "commandline -ct | string match -e ':'" -a ' (__scp_remote_target):( if not set -q __fish_scp_sftp - set -l tmp (__fish_mktemp fish-scp) + set -l tmp (__fish_mktemp_relative fish-scp) if scp -P(__scp2ssh_port_number) -o "BatchMode yes" -q -O $tmp (__scp_remote_target):/dev/null set -g __fish_scp_sftp true else