rustup
rustup copied to clipboard
Add support for fish shell and continue adding support for non-posix compliant shells.
Closes #478.
This further contributes to Jubilee Young's efforts to add support for non-posix compliant shells by adding add_to_path and remove_from_path methods to the UnixShell trait. This removes the bulk of code from unix.rs.
As part of this, support for fish shell is also added by writing to $HOME/.config/fish/conf.d/cargo.fish as recommended by fish shell issue 3170.
Any recommendations for further tests and changes to how the fish path should be handled are welcome.
I had to shelve this project for a while due to technical difficulties with my previous setup, but I should be able to get back to this now.