*Slight* correction. :0) 

In bash you need quotes if the alias includes spaces.

Example:

alias z=zwrite

That DOES NOT need quotes.

alias mp='mplayer -vo x11'

This alias DOES need quotes.

I know... I'm nit-picking, just giving away free information! :0)
tdh

--
  --------------------------------------------------------------------
  T. Holmes  |  UNIXTECHS.org  |  [EMAIL PROTECTED]  |  UIN:  17021091
  --------------------------------------------------------------------
 | On Saturday 29 December 2001 17:06, you wrote:
 | > Hi. I'm trying to get to alias's (pleural sp?) to work and am having
 | > a problem. Here is what I put into /home/darklord/.bashrc:
 | >
 | > alias diablo2=winex /mnt/windows/Program\ Files/Diablo\ II/Game.exe
 | > alias starcraft=winex /mnt/windows/Program\
 | > Files/Starcraft/starcraft.exe
 | >
 | > Bash always complains that it can not find either of the *.exe files.
 | > It doesn't complain about the path to them...
 | 
 | In bash you need quotes around the aliased command if it consists of 
 | more than one word.
 | 
 | S>
 | 
 | -- 
 | <<< Eagles may soar, but weasels don't get sucked into jet engines >>>
 | Remove the fruit to obtain reply address:
 | spencer at lasermount satsuma dot uklinux dot net
 | 5:57pm up 35 days, 3:57, 13 users, load average: 0.05, 0.12, 0.20
 | Registered Linux User #232457
 | 
 | Want to buy your Pack or Services from MandrakeSoft? 
 | Go to http://www.mandrakestore.com

  ----------------------------- Uptime -------------------------------
  6:06PM  up 66 days,  6:45, 3 users, load averages: 0.02, 0.02, 0.00
  --------------------------------------------------------------------

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to