dotfiles
dotfiles copied to clipboard
Zen ZSH
This pull requests holds a few upgrades to ZSH & updates to the packages installed.
-
Removed oh-my-zsh & starship.
- With the current setup, the setup installs both starship and oh-my-posh. I believe having 2 different prompts is bloat and believe in only keeping oh-my-posh since its superior IMO. Along with this, oh-my-zsh is unnecessary and slows down boot times and the same functions can be achieved manually.
-
Updates to packages
- general.sh: Removed starship, zsh-completion (replaced in 3.), trizen & pacseek (moved to optional.sh). Added rsync since its a dependency for ./ml4w-hyprland-setup. Updated oh-my-posh to oh-my-posh-bin
- hyprland.sh: Fixed grimblast package by changing it to grimblast-git
-
Native Plugin Handling in ZSH
- With the removal of oh-my-zsh, I have built in a way to install plugins directly into 20-customizations. The section under # Plugins is pretty similar to the changes in ~/.config/ml4w/scripts/shell.sh. Initially, this scripts installs all the plugins oh-my-zsh installed along with 4 additional plugins, colored-man-pages, extract, command-not-found, and you-should-use. All of the plugins are pulled directly from source during the post install script.
- In the 20-customization file, similar commands are ran to check for the plugins, install if missing or source if they already exists there. In order to add new plugins just copy the last plugins if statement and replace with link with the new plugins link and the name of the files.