These configs work for zsh with oh-my-zsh. Everything needs a simlink.
The .zshenv
loads the completions outside of zsh plugins.
fpath
is for completion loading, path
is for PATH.
Install zsh and oh-my-zsh prior to using these configs. Symlink the following:
cp -asf /home/ubuntu/configs/completions /home/ubuntu/.zsh
ln -sf /home/ubuntu/configs/.vimrc /home/ubuntu/.vimrc
ln -sf /home/ubuntu/configs/.zshenv /home/ubuntu/.zshenv
ln -sf /home/ubuntu/configs/.zshrc /home/ubuntu/.zshrc
ln -sf /home/ubuntu/configs/aliases.zsh /home/ubuntu/.oh-my-zsh/custom/aliases.zsh
ln -sf /home/ubuntu/configs/functions.zsh /home/ubuntu/.oh-my-zsh/custom/functions.zsh
ln -sf /home/ubuntu/configs/ys.zsh-theme /home/ubuntu/.oh-my-zsh/custom/themes/ys.zsh-theme
When Zsh starts, it runs configuration files in the following order, depending on the shell type. For a Login Shell:
- /etc/zshenv: System-wide environment variables and configurations.
- ~/.zshenv: User-specific environment variables.
- /etc/zprofile: System-wide login-specific configurations.
- ~/.zprofile: User-specific login configurations.
- /etc/zshrc: System-wide interactive shell configurations.
- ~/.zshrc: User-specific interactive shell configurations.
- /etc/zlogin: System-wide login tasks.
- ~/.zlogin: User-specific login tasks.
For a Non-Login Interactive Shell:
- /etc/zshenv
- ~/.zshenv
- /etc/zshrc
- ~/.zshrc