alias has stopped working after editing .csh file
Hi,
OS: RH5 & RH6 On our systems we have many versions of the same tools installed. Depending on what version you want to run, we source the appropriate .csh file, then run the tool. I have setup some aliases in my .cshrc file and they look like this: alias viv2013.3 'source /some/location3/settings64.csh' alias viv2013.4 'source /some/location4/settings64.csh' etc etc opening a console window I've been able to simply write "viv2013.3" and this sources the script. I then type "vivado" and this launches the program. However, I edited the settings64.csh file for one of the tools. Realizing what I wanted to do, didn't work - I re-edited the file back to how it was. However, now the alias does not work!! Confused!! If I source the file directly, not using the alias, it works fine. Any ideas much appreciated, so, so confused considering all the others work fine. |
Try adding EQUALS between the assignment of the alias and the actions it is to perform:
Code:
alias viv2013.3='source /some/location3/settings64.csh' Code:
desktop:~$ alias viv2013.3='source /some/location3/settings64.csh' |
All times are GMT -5. The time now is 04:36 AM. |