Greetings,
I'd like to set up some aliases for use on my macbook. I'm using the bash shell and have read different posts on how to create a file for storing aliases. One tells me to create a .tcshrc file and another says to create a .bashrc file - each in the home directory. I've created both, but neither one seems to work when I try to test one of my aliases in a Terminal window.
Should I use a .bashrc file with the bash shell or .tschrc? Just saving the files doesn't seem to work. I exit and re-enter a Terminal, but as said, the aliases do not work. Am I missing a step?
Example of .bashrc
alias lsla 'ls -la'
... some other simple aliases...
Any help would be greatly appreciated.
I'd like to set up some aliases for use on my macbook. I'm using the bash shell and have read different posts on how to create a file for storing aliases. One tells me to create a .tcshrc file and another says to create a .bashrc file - each in the home directory. I've created both, but neither one seems to work when I try to test one of my aliases in a Terminal window.
Should I use a .bashrc file with the bash shell or .tschrc? Just saving the files doesn't seem to work. I exit and re-enter a Terminal, but as said, the aliases do not work. Am I missing a step?
Example of .bashrc
alias lsla 'ls -la'
... some other simple aliases...
Any help would be greatly appreciated.