One for the *nix heads

Discussion in 'Mac Help/Tips' started by Beej, Aug 1, 2002.

  1. Beej macrumors 68020

    Beej

    Joined:
    Jan 6, 2002
    Location:
    Buffy's bedroom
    #1
    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?
     
  2. arn macrumors god

    arn

    Staff Member

    Joined:
    Apr 9, 2001
    #2
    Re: One for the *nix heads

    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
     
  3. Beej thread starter macrumors 68020

    Beej

    Joined:
    Jan 6, 2002
    Location:
    Buffy's bedroom
    #3
    Ahhhh... sweet. Thanks Arn. Worked like a charm!
     

Share This Page