-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
Milestone
Description
When running an scp
command with tab completion for the path I get the following error:
Unknown command: __fish_mktemp
fish:
__fish_mktemp fish-scp
^~~~~~~~~~~~^
in command substitution
in command substitution
fish: Unknown command
set -l tmp (__fish_mktemp fish-scp)
^~~~~~~~~~~~~~~~~~~~~~~^
in command substitution
usage: scp [-346ABCOpqRrsTv] [-c cipher] [-D sftp_server_path] [-F ssh_config]
[-i identity_file] [-J destination] [-l limit] [-o ssh_option]
[-P port] [-S program] [-X sftp_option] source ... target
rm: missing operand
However, this only happens the first time I do it after starting the shell. Subsequent auto-completion works.
System info:
> fish --version
fish, version 4.1.1
> echo $version
4.1.1
> echo $TERM
xterm-kitty
> uname -a
Linux 6.16.8-arch3-1 #1 SMP PREEMPT_DYNAMIC Mon, 22 Sep 2025 22:08:35 +0000 x86_64 GNU/Linux
Tested without third-party customizations.