aliases with bash shell
On my old linux box (FC4), I had the following line in my .cshrc file:
alias emacs 'emacs \!* &'
On my new computer (Ubuntu 7.10), I'd like to have the same alias. I noticed that there was a .bashrc file, so I tried to put the same line in it. After changing the syntax to:
alias emacs='emacs \!* &'
it sources, but I get the following error if I try to open a file:
$ emacs file.txt
bash: file.txt: command not found
which then opens up emacs but not file.txt.
Since I'm not the one who wrote the original line, I'm not sure what I need to change or where to even look for info about linux wildcard characters.
Thanks in advance for the help.