Hello,
I want to transfer my alias and function on separate file but I don't know how to do.
Actually all function and alias is in the .zshrc
thank you
Hi there, you have two options:
~/.aliases, and put source PATH_TO_YOUR_FILE at the bottom of your zshrc file.$ZSH_CUSTOM/YOUR_FILE_NAME.zsh and OMZ will automatically load when loading it. The important thing about the file name is that it ends in .zsh.
Most helpful comment
Hi there, you have two options:
~/.aliases, and putsource PATH_TO_YOUR_FILEat the bottom of your zshrc file.$ZSH_CUSTOM/YOUR_FILE_NAME.zshand OMZ will automatically load when loading it. The important thing about the file name is that it ends in.zsh.