mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 08:41:43 +05:30
fix(profile): Source Rust env only if it exists
This commit is contained in:
@@ -86,6 +86,7 @@ export RUSTUP_HOME="${XDG_DATA_HOME}/rust/rustup"
|
||||
export PATH="$PATH:$CARGO_HOME/bin"
|
||||
export RUSTC_WRAPPER=sccache
|
||||
export SCCACHE_CACHE_SIZE="20G"
|
||||
[ -f "${XDA_DATA_HOME}/rust/cargo/env" ] && . "${XDA_DATA_HOME}/rust/cargo/env"
|
||||
|
||||
# Setup DotNet
|
||||
export DOTNET_CLI_TELEMETRY_OPTOUT=1
|
||||
@@ -126,4 +127,3 @@ export FZF_DEFAULT_OPTS='--layout=reverse --cycle --inline-info --height=~50% --
|
||||
export TLDR_CACHE_DIR="${XDG_CACHE_HOME}/tldr"
|
||||
|
||||
export OLLAMA_HOME="${XDG_CONFIG_HOME}/ollama"
|
||||
. "/home/pratik/.local/share/rust/cargo/env"
|
||||
|
||||
Reference in New Issue
Block a user