aboutsummaryrefslogtreecommitdiffstats
path: root/dotfiles/bash/.bashrc
diff options
context:
space:
mode:
authorshu <nvcsadjkojf@outlook.com>2026-10-31 16:38:07 +0800
committershu <nvcsadjkojf@outlook.com>2026-10-31 16:38:07 +0800
commitf55a4f16eddfbedac685168c7dd53df7a1a53874 (patch)
tree32b2d9d775ebd4b0e4f64171e05a94129c7f0b4b /dotfiles/bash/.bashrc
parent3791f6e9a7424d3a299a100a0d6674816aa32cfe (diff)
添加自定义命令路径
Diffstat (limited to 'dotfiles/bash/.bashrc')
-rw-r--r--dotfiles/bash/.bashrc11
1 files changed, 3 insertions, 8 deletions
diff --git a/dotfiles/bash/.bashrc b/dotfiles/bash/.bashrc
index 89ee235..1ebdbc7 100644
--- a/dotfiles/bash/.bashrc
+++ b/dotfiles/bash/.bashrc
@@ -9,7 +9,9 @@ alias ls='ls --color=auto'
alias grep='grep --color=auto'
PS1='[\u@\h \W]\$ '
-export PATH=$HOME/.local/npm/bin:$HOME/.local/share/pnpm/bin:$PATH
+export PATH=$HOME/.local/bin:$PATH
+export PATH=$HOME/.local/npm/bin:$PATH
+export PATH=$HOME/.local/share/pnpm/bin:$PATH
export FNM_NODE_DIST_MIRROR=https://mirrors.nju.edu.cn/nodejs-release/
export RUSTUP_UPDATE_ROOT=https://mirror.nju.edu.cn/rustup/rustup
@@ -22,10 +24,3 @@ bind '"\e[B": history-search-forward'
bind '"\eOA": history-search-backward'
bind '"\eOB": history-search-forward'
-# # pnpm
-# export PNPM_HOME='/home/shu/.local/share/pnpm'
-# case ":$PATH:" in
-# ":$PNPM_HOME/bin:"*) ;;
-# *) export PATH="$PNPM_HOME/bin:$PATH" ;;
-# esac
-# # pnpm end