I want to create a alias of my cd command
. I have created the .bashrc file and append the command cd ......
to it. (Since the file was newly created, it just has this one line that I added).
After that, only after I typed . ~/.bashrc
, can the alias works. If I close the terminal and open it again, I need to retype . ~/.bashrc
.
It's really annoying to do this every time. Is there any way to solve this problem?
Thank you so much for help