Package: fish Version: 1.23.0-5 Severity: wishlist Tags: patch The attached patch makes __fish_print_hostnames read hostnames from ~/.ssh/config if it exists. Please consider applying it and/or forwarding upstream.
Thanks, -- System Information: Debian Release: 5.0 APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core) Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages fish depends on: ii bc 1.06.94-3 The GNU bc arbitrary precision cal ii epiphany-gecko [www-brows 2.22.3-9 Intuitive GNOME web browser - Geck ii iceweasel [www-browser] 3.0.5-1 lightweight web browser based on M ii libc6 2.7-18 GNU C Library: Shared libraries ii libncurses5 5.7+20090105-1 shared libraries for terminal hand ii lynx 2.8.7dev12-1 Text-mode WWW Browser (transitiona ii lynx-cur [www-browser] 2.8.7dev12-1 Text-mode WWW Browser with NLS sup ii w3m [www-browser] 0.5.2-2+b1 WWW browsable pager with excellent Versions of packages fish recommends: ii xsel 1.2.0-1 command-line tool to access X clip Versions of packages fish suggests: ii doc-base 0.8.19 utilities to manage online documen ii menu 2.1.41 generates programs menu for all me -- no debconf information
--- share/functions/__fish_print_hostnames.fish.orig 2009-01-15 13:22:34.000000000 -0300 +++ share/functions/__fish_print_hostnames.fish 2009-01-15 14:02:20.000000000 -0300 @@ -12,5 +12,10 @@ # Print hosts with known ssh keys cat ~/.ssh/known_hosts{,2} ^/dev/null|cut -d ' ' -f 1| cut -d , -f 1 + + # Print hosts from ssh configuration file + if [ -e ~/.ssh/config ] + grep 'Host' ~/.ssh/config | cut -d ' ' -f 2 + end end