fish-shell/share
Fabian Homborg 9354dd6971 Add fish_add_path, a simple way to add to $PATH
This is a function you can either execute once, interactively, or
stick in config.fish, and it will do the right thing.

Some options are included to choose some slightly different behavior,
like setting $PATH directly instead of $fish_user_paths, or moving
already existing components to the front/back instead of ignoring
them, or appending new components instead of prepending them.

The defaults were chosen because they are the most safe, and
especially because they allow it to be idempotent - running it again
and again and again won't change anything, it won't even run the
actual `set` because it skips that if all components are already in.

Fixes #6960.
2020-05-29 20:51:05 +02:00
..
completions completions: update python3 2020-05-28 17:42:00 +02:00
functions Add fish_add_path, a simple way to add to $PATH 2020-05-29 20:51:05 +02:00
groff workaround broken groff man page config 2016-10-19 13:43:04 -07:00
tools check for both wsl1 and wsl2 2020-05-25 13:05:13 +08:00
__fish_build_paths.fish.in Rename "snippets" to "conf" internally, and document them as snippets 2016-04-06 09:33:09 +08:00
config.fish Don't fire fish_prompt when read is used 2020-05-26 15:24:31 -05:00
lynx.lss Install custom LSS script to /usr/local/share/fish on make install 2017-09-26 14:31:11 -05:00