I am trying to set a few permanent aliases in my terminal

export PATH=$PATH:/Applications/orca 
alias subl='/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl' 
alias chem='wine "c:/chemcraft/chemcraft.exe" '

but I have to enter each one of these separately each time I reopen the terminal. oh my zsh seems not to care at all about my .bash_profile file.


zsh does not read .bash_profile (the name indicates that it belongs to bash) because it has its own configuration files.

Generally, you can put aliases for zsh in ~/.zshrc. If you are using oh my zsh you can also create a file with extension .zsh in ~/.oh-my-zsh/custom for example ~/.oh-my-zsh/custom/aliases.zsh

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.