Results 1 to 2 of 2

Thread: Aliases not working

  1. #1
    Join Date
    Feb 2013
    Beans
    18

    Aliases not working

    I want to use some simple aliases like:

    alias goto='cd /some/dir'

    I add this to a file .bash_aliases in my home folder, which is the appropriate thing to do according to .bashrc. It's not working though Any suggestions?

    Thanks

  2. #2
    Join Date
    Feb 2013
    Beans
    18

    Re: Aliases not working

    I found the problem, just had forgotten that I am atm using Z shell... So I just had to add the alias to the .zshrc file. But I created an .aliases file and have both .bashrc and .zshrc point to this instead, for convenience

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •