You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
229 B
Bash

#!/usr/bin/env sh
# LOG_DIR="$XDG_STATE_HOME/rust"
LOG_DIR=$HOME/.local/state/rust
[ ! -d $LOG_DIR ] && mkdir -p $LOG_DIR
tee $LOG_DIR/rust-analyzer-in.log | rustup run nightly rust-analyzer | tee $LOG_DIR/rust-analyzer-out.log