One for the *nix heads

Beej

macrumors 68020
Original poster
Jan 6, 2002
2,139
0
Buffy's bedroom
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?
 

arn

macrumors god
Staff member
Apr 9, 2001
14,794
2,229
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
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.