From 9d50f05fae7d0d8614e77baec4e2b61b19aec830 Mon Sep 17 00:00:00 2001 From: Zedhugh Chen Date: Thu, 7 Aug 2025 19:21:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.xprofile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dot/.xprofile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/dot/.xprofile b/dot/.xprofile index 8f766d2..605420f 100644 --- a/dot/.xprofile +++ b/dot/.xprofile @@ -40,6 +40,12 @@ fcitx5 -d export PATH="~/.local/bin${PATH:+:}$PATH" # pnpm -export PNPM_HOME="/home/zedhugh/.local/share/pnpm" -export PATH="$PNPM_HOME:$PATH" +export PATH="~/.local/share/pnpm${PATH:+:}$PATH" # pnpm end + +# rust cargo +export PATH="~/.cargo/bin${PATH:+:}$PATH" +if [[ -e "$HOME/.cargo/env" ]]; then + . "$HOME/.cargo/env" +fi +# rust cargo end