Exactly what it says. It's my zsh configuration. That means it's specific to how I like my shell to look and behave. You can use mine as it is or customize it to your own taste. But it is damn handy to be able to have my whole shell config up and running in a few shell commands!
NOTE: Make sure you have Hack or Nerd fonts installed and you have p10k and autosuggestions already in your zsh
- Clone this repo to wherever you keep your repos on the box where you want to configure zsh
- If you already have a ~/.zshconfig back it up and delete the original like this:
mv ~/.zshrc ~/.zshrc_backup
- If you already have a custom folder in your oh-my-zsh folder, do the same thing
mkdir -p ~/.oh-my-zsh/custom/backup_zsh && mv ~/.oh-my-zsh/custom/*.zsh ~/.oh-my-zsh/custom/backup_zsh/
- Symlink the .zshrc from the repo to where it usually is found
For me that looks like:
ln -s /path/to/parent/of/zsh-config/zsh-config/.zshrc ~/.zshrc
ln -s ~/Projects/Code/zsh-config/.zshrc ~/.zshrc
- Symlink the content of the repo's custom folder to where .zsh files are normally found holding custom aliases and such for OhMyZsh to find and make part of the .zshrc
For me that looks like:
ln -s /path/to/parent/of/zsh-config/zsh-config/custom/*.zsh ~/.oh-my-zsh/custom/
ln -s ~/Projects/Code/zsh-config/custom/*.zsh ~/.oh-my-zsh/custom
- Source your .zshrc
source ~/.zshrc
- Source everything in the custom folder
cd ~/.oh-my-zsh/custom/ for file in *.zsh; do [ -r "$file" ] && [ -f "$file" ] && source "$file" done
- ENJOY!!