在 Mac 上:

alias ..="cd ../"
alias ...="cd ../../"
alias ll="ls -al"
alias grep="grep --color=auto"
alias cnpm='npm --registry=https://registry.npm.taobao.org'

export PS1='\n[\u@\h] \w\$ '

export PATH=./node_modules/.bin:$PATH
export PATH=/Library/Frameworks/Python.framework/Versions/3.7/bin/:$PATH

export PATH=~/Documents/github/wbswjc/cmd:$PATH
alias cmd='source cmd'

在 Ubuntu 18.04 机器上:

# ... default .bashrc content ...

alias ..='cd ..'
alias ...='cd ../../'
alias ....='cd ../../../'
alias c='clear'
alias mkdir='mkdir -pv'

export PS1='\n${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '

export PATH=$PATH:~/bin