Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can't? I've never done it but I'm pretty sure I know this: in bash, you can get it from pkg-config. If you aren't using pkg-config, you're kind of swimming upstream in the first place, but CentOS and Fedora (the only distro I use, but I think Ubuntu uses the same) look at /etc/bash_completion.d.

In zsh, it's just $FPATH. Your canonical location can also be gotten from pkg-config.

This seems very googleable. Doubly so if you're doing the right thing and...using pkg-config.

(Please use pkg-config. Thank you for coming to my TED talk.)



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: