mirror of
https://github.com/encounter/yarn.git
synced 2026-03-30 11:43:44 -07:00
16b4e3b9f3
* 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](https://github.com/fish-shell/fish-shell/issues/527#issuecomment-13811988) for more reference. * Run command to set $fish_user_paths instead of evaluating a string.