01838f0083
The recommended order for the module loading has been changed. The last module to be loaded should be 'completion'. This ensures all completions set by other modules are dumped and included in the completion. Because of this, any compdefs like this one (making the pacman aliases use pacman completion) must be set in the compdefs.zsh file, and loaded with the completion module. This means the compdefs must be wrapped with conditional statements to ensure such aliases/functions have been set by previous modules. I may abstract this conditional to a function in the future to make this an easier process. |
||
---|---|---|
modules | ||
templates | ||
.gitignore | ||
.gitmodules | ||
init.zsh | ||
LICENSE | ||
README.md |
ZIM - Zsh IMproved
Moving to Zsh because you heard it was cool? Tried other frameworks but found them slow? Want something that works without spending hours configuring sane settings? Want to be the conqueror of shells?
Meet Zim.
What is Zim?
Zim is a Zsh configuration fromework that prides itself on speed and modularity. Zim is very easy to customize and add your own functionality. But worry not! You don't have to if that's not your cup of tea!
Zim comes with a rich set of default modules and features without comprimising on speed or functionality!
What does Zim offer?
If you're here, it means you want to see the cool shit Zim can do. Check out the available modules!
Below is a brief showcase of Zim's features.
Themes
Fish-shell History Navigation
Syntax Highlighting
Speed
For a speed comparison between zim and prezto, see this gist
And much more!
Zim has many modules! Enable as many or as few as you'd like.
Installation
Installing Zim is easy. If you have a different shell framework installed (like oh-my-zsh or prezto), uninstall those first to prevent conflicts.
- In Zsh, clone the repository:
git clone --recursive https://github.com/Eriner/zim.git ${ZDOTDIR:-$HOME}/.zim
- Copy the template configuration files (or append to existing configs):
setopt EXTENDED_GLOB
for template_file ( ${ZDOTDIR:-$HOME}/.zim/templates/* ); do
cat ${template_file} | tee -a ${ZDOTDIR:-$HOME}/.$(basename ${template_file}) > /dev/null
done
- Set Zsh as the default shell:
chsh -s $(which zsh)
- Open a new terminal and admire your work!