diff options
Diffstat (limited to 'dotfiles/bash/.bashrc')
| -rw-r--r-- | dotfiles/bash/.bashrc | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dotfiles/bash/.bashrc b/dotfiles/bash/.bashrc new file mode 100644 index 0000000..0826f83 --- /dev/null +++ b/dotfiles/bash/.bashrc @@ -0,0 +1,26 @@ +# +# ~/.bashrc +# + +# If not running interactively, don't do anything +[[ $- != *i* ]] && return + +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 FNM_NODE_DIST_MIRROR=https://mirrors.nju.edu.cn/nodejs-release/ +export RUSTUP_UPDATE_ROOT=https://mirror.nju.edu.cn/rustup/rustup +export RUSTUP_DIST_SERVER=https://mirror.nju.edu.cn/rustup + +eval "$(fnm env --use-on-cd)" + +# # pnpm +# export PNPM_HOME='/home/shu/.local/share/pnpm' +# case ":$PATH:" in +# ":$PNPM_HOME/bin:"*) ;; +# *) export PATH="$PNPM_HOME/bin:$PATH" ;; +# esac +# # pnpm end |
