# .bashrc DIY
# env status
echo "sourcing ~/.bashrc..."
# enter desktop when open terminal
echo " enter ~/Desktop..."
if [[ $PWD == $(realpath ~) ]]; then
cd ~/Desktop/
fi
# directory to be searched when cd
CDPATH=.:~:~/.Desktop
.bashrc DIY
最新推荐文章于 2023-03-24 16:22:51 发布