You can find the completion script with `locate '*completion*ping.fish`
If you view it, you will see it calls `__fish_print_hostnames`
Examine that function with `type __fish_print_hostnames` and you see it
gets the information from several sources.


On Tue, Feb 6, 2018 at 12:48 PM, Mike Costanzo <mrcosta...@gmail.com> wrote:

> Hi all,
>
> I'm trying to figure out where fish pulls completion information of
> hostnames.
> For example, if I do >ping [TAB] I get a nice list of known hosts.
> What is the (default) source of this?
>
> Thanks in advance,
>
> -Mike C.
>
>
>
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Fish-users mailing list
> Fish-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fish-users
>
>


-- 
*Glenn Jackman*
Senior Software Developer

*Pythian - Love your data*
jack...@pythian.com
Tel: +1 613 565 8696 Ext. 1478
Mobile: +1 613 808 4984
www.pythian.com

-- 


--



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to