有时候配置linux虚拟环境时总是不小心改动已经配置好的.bashrc文件。
为了防止系统自动变动之后能恢复原来的版本,特此记录一下当前能够正常使用的.bashrc文件内容
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER=
# User specific aliases and functions
# added by Anaconda3 installer
export PATH="/home/zdliu/anaconda3/bin:$PATH"
alias python="~/anaconda3/bin/python3"
alias python3=python
alias pip="~/anaconda3/bin/pip"
alias pip3=pip
alias conda="~/anaconda3/bin/conda"