Skip to content

Commit

Permalink
Merge pull request #12 from acuteaura/patch-1
Browse files Browse the repository at this point in the history
Suggest using fish_add_path in modern Fish
  • Loading branch information
jorgebucaran committed Apr 12, 2021
2 parents 2207649 + 774e60e commit 13af779
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Expand Up @@ -486,6 +486,12 @@ The correct way to persistently add a path to your `$PATH` is using fish `$fish_
set -U fish_user_paths $fish_user_paths my_path
```

In fish 3.2.1 and later, you can use the builtin `fish_add_path` function instead.

```fish
fish_add_path my_path
```

> See [`$PATH`](https://fishshell.com/docs/current/tutorial.html#path) in the fish tutorial for more information.
### How do I remove a path from the `$PATH` in fish?
Expand Down

0 comments on commit 13af779

Please sign in to comment.