On Mon, Jun 27, 2016 at 3:25 PM, Pito Salas <pitosa...@gmail.com> wrote:
>
> I discovered a large collection of “built in functions” in
> share/functions. If I want to change that behavior what’s the best
> practice? Do I modify the ../share? I bet not. So what is recommended if
> for example I want to have a variant of the default prompt.
>
> And take a very fancy function like _fish_git_prompt. How do I get that to
> be invoked in .git directories?
>
See http://fishshell.com/docs/current/index.html#initialization. For
example, I have a ~/.config/fish/functions/fish_prompt.fish script that
defines a fish_prompt function. Also,
http://fishshell.com/docs/current/faq.html and the "fish_config" command.
--
Kurtis Rader
Caretaker of the exceptional canines Junior and Hank
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users