fish: conf.d/setup: Add rustup symlink path to PATH
See related https://bugs.archlinux.org/task/78309?string=78309&project=5aa625d449c
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:
parent
3987cb202b
commit
7779044f67
1 changed files with 4 additions and 0 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue