Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle installation for 'fish' shell (yarnpkg#690)
* Handle installation for 'fish' shell 'fish' is a popular shell. This commit adds support for proper detection and installation of yarn in 'fish' shell. If the detected shell is 'fish', add path to ~/.yarn/bin in $HOME/.config/fish/config.fish file. * Use a more modern way of setting $PATH in fish Set `~/.yarn/bin` in `$fish_user_paths` instead of setting it in `~/.config/fish/config.fish` file. See [suggestion from fish documentation](fish-shell/fish-shell#527 (comment)) for more reference. * Run command to set $fish_user_paths instead of evaluating a string.
- Loading branch information