4
Shell beginner here! I'd like to create aliases and functions in zsh shell to speed up my workflow. For example:
tw() { open -a //Applications/Textwrangler.app "$*"; }
The function itself works, but the problem is that the function definition disappears once I exit the shell. What's the procedure for saving user defined functions and aliases for future use? The zsh documentation isn't particularly helpful... or maybe I'm just being stupid!
Thanks! Since I have oh-my-zsh installed, a comment inside of ~/.zshrc suggested I add my customizations to the ~/.oh-my-zsh/custom folder, using any filename with a .zsh extension. – Juho Karppinen – 2015-04-21T09:18:38.400