Only source ~/.cargo/env.fish when it exists, so the shell doesn't error on machines without a rust toolchain installed.
2 lines
68 B
Fish
2 lines
68 B
Fish
test -f "$HOME/.cargo/env.fish"; and source "$HOME/.cargo/env.fish"
|