Add RUSTC_WRAPPER envar and broot shell fn install

This commit is contained in:
Daniel Lynn 2023-04-20 14:41:18 -05:00
parent 9fb4d582ce
commit 45d6cb2064
Signed by: daniel
GPG Key ID: 28496A140E180A9D
4 changed files with 7 additions and 7 deletions

View File

@ -1 +0,0 @@
/home/daniel/.local/share/broot/launcher/bash/1

View File

@ -1,4 +0,0 @@
This file tells broot the installation of the br function was done.
If there's a problem and you want to install it again run
broot -- install

View File

@ -1,4 +1,5 @@
# broot
if [[ -s ~/.config/broot/launcher/bash/br ]]; then
source ~/.config/broot/launcher/bash/br
if (( $+commands[broot] )); then
eval "$(broot --print-shell-function zsh)"
broot --set-install-state installed
fi

View File

@ -31,6 +31,10 @@ if (( $+commands[fd] )); then
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
fi
if (( $+commands[sccache] )); then
export RUSTC_WRAPPER="$(which sccache)"
fi
# Local environment
if [[ -s ~/.zshenv.local ]]; then
source ~/.zshenv.local