I need to add permanent alias for bash terminal so that I don't have to set them always after logging in.
I am adding alias command to .bashrc and trying to install the .bashrc file again using the source command.
pxxxxx@pxxxxx:~$ cat .bashrc | tail -2
alias name1='command1'
alias name2='command2'
pxxxxx@pxxxxx:~$
pxxxxxx@pxxxxxx:~$ cat .bashrc | grep export
export EDITOR='vi'
export SHELL= /usr/bin/bash
Now, whenever I am logging in into bash or running the following command:
$source .bashrc
I am getting the following error:
pxxxxx@xxxxxx:~$ source .bashrc
bash: export: `/usr/bin/bash': not a valid identifier