Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Beej

macrumors 68020
Original poster
Jan 6, 2002
2,139
0
I've just installed Moscow ML on my system. Rather than type 'mosml' each time I want to use it, I've made it so I can just type 'ml' (hey, I'm really lazy :D)

It works... but not quite how I want. Here's what I get:

Code:
[localhost:~] beej% ml

OK? l? no
Moscow ML version 2.00 (June 2000)
Enter `quit();' to quit.
-

As you can see, it tries to correct 'ml' to 'l', which I don't want. How can I fix this?
 
Re: One for the *nix heads

Originally posted by Beej
I've just installed Moscow ML on my system. Rather than type 'mosml' each time I want to use it, I've made it so I can just type 'ml' (hey, I'm really lazy :D)

It works... but not quite how I want. Here's what I get:

Code:
[localhost:~] beej% ml

OK? l? no
Moscow ML version 2.00 (June 2000)
Enter `quit();' to quit.
-

As you can see, it tries to correct 'ml' to 'l', which I don't want. How can I fix this?

Type in:

alias ml mosml

Now, if you want it to do that every time... add it to your ".cshrc" file in your home directory (the one you open terminal into). To edit it, you can edit it in emacs/pico or whatever... or just type "open .cshrc" when you get into the terminal

arn
 
Ahhhh... sweet. Thanks Arn. Worked like a charm!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.