This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# assumption: you use `rustup component add rust-analyzer` to manage RA | |
# you could check that by seeing whether is a rust-analyzer under `~/.rustup/toolchains/${your_toolchain}/bin` | |
# place this exectuable under dir like ~/.cargo/bin | |
#!/usr/bin/fish | |
eval (rustup which --toolchain (string split - (rustup default) | head -n 1) rust-analyzer) $argv |