Guard rustup env sourcing
Only source ~/.cargo/env.fish when it exists, so the shell doesn't error on machines without a rust toolchain installed.
This commit is contained in:
@@ -1 +1 @@
|
||||
source "$HOME/.cargo/env.fish"
|
||||
test -f "$HOME/.cargo/env.fish"; and source "$HOME/.cargo/env.fish"
|
||||
|
||||
Reference in New Issue
Block a user