On 06/27/2016 06:25 PM, Pito Salas 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.

See http://fishshell.com/docs/current/tutorial.html#tut_prompt, which 
demonstrates how to customize the fish prompt.  If you use `fish_config 
prompt` (the web interface), it will automatically make the prompt 
persistent by putting it in ~/.config/fish/functions.  If you just edit 
the prompt yourself as this section of the tutorial demonstrates, and 
you want to make it persistent, you'll need to run `funcsave 
fish_prompt`.  If you totally screw up your fish prompt function and 
want to start from scratch with the default prompt, you can do so by 
deleting the file ~/.config/fish/functions/fish_prompt.fish.

------------------------------------------------------------------------------
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

Reply via email to