From f55a4f16eddfbedac685168c7dd53df7a1a53874 Mon Sep 17 00:00:00 2001 From: shu Date: Sat, 31 Oct 2026 16:38:07 +0800 Subject: 添加自定义命令路径 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dotfiles/bash/.bashrc | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'dotfiles/bash/.bashrc') 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 -- cgit v1.2.3