I have create few new aliases in ~/.bashrc
then run source ~/.bashrc
and it worked. But after restart terminal it does not work. I looked back and found the advice: create ~/.bash_aliases
and in ~/.bashrc
append string:
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
But the problem remains unsolved. Any suggestions?