Xinqi Bao's Git

update bashrc for cargo env master
authorXinqi Bao <[email protected]>
Sat, 23 Aug 2025 16:55:34 +0000 (00:55 +0800)
committerXinqi Bao <[email protected]>
Sat, 23 Aug 2025 16:55:34 +0000 (00:55 +0800)
.bashrc

diff --git a/.bashrc b/.bashrc
index 9a17f51..108d1b7 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -23,6 +23,8 @@ export PS1="[\[\e[36;1m\]\u@\h \[\e[32;1m\]\w\[\e[m\]]\[\e[33m\](\$(git branch 2
 eval "$(fzf --bash)"
 export FZF_CTRL_T_OPTS="--preview 'bat --style=numbers --color=always --line-range :500 {}'"
 
 eval "$(fzf --bash)"
 export FZF_CTRL_T_OPTS="--preview 'bat --style=numbers --color=always --line-range :500 {}'"
 
+[ -f ${HOME}/.cargo/env ] && . ${HOME}/.cargo/env
+
 ulimit -c unlimited
 
 <<COMMENT
 ulimit -c unlimited
 
 <<COMMENT