# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
在文件最后,添加自定义的alias语句
echo "My alias has started successfully!"
echo "Type 'alias' to see more about this!"
# my
alias la='ls -al --color=auto'
# my-end