fish: conf.d/setup: Add rustup symlink path to PATH

See related
https://bugs.archlinux.org/task/78309?string=78309&project=5
aa625d449c
17eb57f5a8

We still need to keep this to use rust-analyzer via rustup. The other
option would be install the rust-analyzer package separately and not
use this via rustup.
This commit is contained in:
Sanchayan Maity 2023-05-04 14:57:16 +05:30
parent 3987cb202b
commit 7779044f67
Signed by: sanchayanmaity
GPG Key ID: 6F6A0609C12038F3
1 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,10 @@ function __fish_setup_on_tty_login --description "Set up environment on tty logi
end
end
if test -d /usr/lib/rustup/bin
set -gxp PATH /usr/lib/rustup/bin
end
if test -d {$HOME}/.nix-defexpr/channels
set -gx NIX_PATH {$HOME}/.nix-defexpr/channels
set -gx NIX_SSL_CERT_FILE '/etc/ssl/certs/ca-certificates.crt'