Improve visibility of note on changing the installation path; close #541

This commit is contained in:
Jorge Bucaran 2020-07-02 03:25:14 +09:00 committed by GitHub
parent c19e4e7d16
commit d847b79b63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,9 +33,9 @@ Your shell can take a few seconds before loading `fisher.fish`. If the `fisher`
### Changing the installation path ### Changing the installation path
Use the `$fisher_path` environment variable to change the location where functions, completions, and configuration snippets will be copied to when a package is installed. The default location will be your fish configuration directory (`~/.config/fish`). Use the `$fisher_path` environment variable to change the location where functions, completions, and configuration snippets will be copied to when installing a package. The default location is your fish configuration directory (`~/.config/fish`).
Why? By default, fisher expands packages into the fish configuration directory, which may cause existing files (such as `fish_prompt.fish`) to be overwritten! If you want to keep your own functions, completions, and configuration snippets separate from packages installed with Fisher, customize the installation path. Or just keep everything in the same place. > **Note:** Why? By default, fisher expands packages into the fish configuration directory, causing existing files (such as `fish_prompt.fish`) to be overwritten! If you want to keep your own custom functions, completions, and configuration snippets away from Fisher, do this. Or just keep everything in the same place.
```fish ```fish
set -g fisher_path /path/to/another/location set -g fisher_path /path/to/another/location