代码拉取完成,页面将自动刷新
#
# ~/.bashrc
#
# ELECTRON_MIRROR 一定要有最后边的斜线 /
export ELECTRON_MIRROR="https://npmmirror.com/mirrors/electron/"
# NVM_NODEJS_ORG_MIRROR 可以要、也可以不要最后的斜线 /
export NVM_NODEJS_ORG_MIRROR="https://npmmirror.com/mirrors/node"
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
export PNPM_HOME="$HOME/.local/share/pnpm"
export PATH="$PNPM_HOME:$PATH"
export GOPATH="$HOME/go"
export GO111MOGULE="on"
export GOPROXY="https://goproxy.cn"
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
[[ -f /usr/share/git/completion/git-prompt.sh ]] && . /usr/share/git/completion/git-prompt.sh
# 30m-37m 黑, 红, 绿, 黄, 蓝, 紫, 青, 白
_UNSET="\[\e[0m\]"
_BLACK="\[\e[30m\]"
_RED="\[\e[31m\]"
_GREEN="\[\e[32m\]"
_YELLOW="\[\e[33m\]"
_BLUE="\[\e[34m\]"
_PURPLE="\[\e[35m\]"
_CYAN="\[\e[36m\]"
_WHITE="\[\e[37m\]"
PS1='\[\033]0;\w\007\]' # set window title
PS1="$PS1$_UNSET"'[' # [
PS1="$PS1$_BLUE"'\u' # \u
PS1="$PS1$_UNSET"'@' # @
PS1="$PS1$_PURPLE"'\h ' # \h<space>
PS1="$PS1$_YELLOW"'\W' # current working directory
PS1="$PS1$_UNSET"']' # ]
PS1="$PS1$_GREEN"'`__git_ps1`' # __git_ps1
PS1="$PS1$_CYAN"'\$ ' # \$
PS1="$PS1$_UNSET" # change color
alias diff='diff --color=auto'
alias ls='ls --color --group-directories-first'
alias ll='ls -lh'
alias vi='vim'
alias pn='pnpm'
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。