Skip missing cargo/deno env files
Browse files at this commit16d34211a730ce08fccce1968b4e0aa7d1377755Parent: 3fd03f9- fix
- skip missing cargo/deno env files
2 changed files +5 -1
.config/fish/conf.d/deno.fishmodified+1 -1
| @@ -1 +1 @@ | |||
| 1 | -source "/home/tahinli/.deno/env.fish" | 1 | +test -f "$HOME/.deno/env.fish"; and source "$HOME/.deno/env.fish" |
.config/fish/conf.d/rustup.fishmodified+4 -0
| @@ -1 +1,5 @@ | |||
| 1 | +if test -f "$HOME/.cargo/env.fish" | ||
| 1 | source "$HOME/.cargo/env.fish" | 2 | source "$HOME/.cargo/env.fish" |
| 3 | +else if test -d "$HOME/.cargo/bin" | ||
| 4 | + fish_add_path -g "$HOME/.cargo/bin" | ||
| 5 | +end | ||