Hello,
I have done some playing and found out the following. I have two completions
for ssh attached. One worked and the other did not. The only difference is
that I added a ":" at the end of "(__fish_print_hostnames):" and now fish
does not crash, but you need to delete the ":" to get ssh to work.
I hope this helps.
Sean
On Monday 20 February 2006 09:19, Sean Higgins wrote:
> Hello,
>
> I upgraded to version 1.20.2 and ssh command line completion is still not
> working for me. The very strange thing is that sshfs command line
> completion is working just fine and the completion command for sshfs is
> very similar to ssh.
>
> Axel, I think the last time you asked me to compile with debug, can you
> give me a brief overview on how I should do that?
>
> Any other suggestions?
>
> Sean
--
Sean Higgins, [EMAIL PROTECTED]
http://www.systura.com - "Where information becomes knowledge."
#
# Completions for sshfs
#
# Host combinations, borrowed from ssh.fish
#
complete -x -c ssh -d Hostname -a "
(__fish_print_hostnames)
(
#Prepend any username specified in the completion to the hostname
echo (commandline -ct)|sed -ne 's/\([EMAIL PROTECTED]).*/\1/p'
)(__fish_print_hostnames)
(__fish_print_users)@
"
#
# Completions for sshfs
#
# Host combinations, borrowed from ssh.fish
#
complete -x -c ssh -d Hostname -a "
(__fish_print_hostnames):
(
#Prepend any username specified in the completion to the hostname
echo (commandline -ct)|sed -ne 's/\([EMAIL PROTECTED]).*/\1/p'
)(__fish_print_hostnames):
(__fish_print_users)@
"