-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updates for Zim 1.x #192
Updates for Zim 1.x #192
Conversation
See changelog in https://github.com/zimfw/zimfw/blob/master/CHANGELOG.md Thanks a lot for chosing Zim as the Zsh framework of choice for your dotfiles and your courses! I spotted a few points where the usage is not compatible with the changes since Zim 1.0.0 (released 2020-01-07): * The zimfw repo is not intended to be cloned for daily use. You only need the zimfw.zsh file. And downloading it from https://github.com/zimfw/zimfw/releases/latest/download/zimfw.zsh will always give you the latest released version of it. * .zimrc should only contain module definitions, and it's not sourced anymore when the shell starts. * zhighlighters is deprecated in favor of ZSH_HIGHLIGHT_HIGHLIGHTERS, since we're using the zsh-users/zsh-syntax-highlighting module directly now. * There are two separate zimfw actions: `upgrade` will upgrade the zimfw.zsh file itself, and `update` will update the modules. You usually would want to do both if you want to "up" everything...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few comments more:
|
||
zhighlighters=(main brackets) | ||
zmodule zsh-users/zsh-syntax-highlighting | ||
zmodule zsh-users/zsh-autosuggestions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's recommended to source zsh-users/zsh-syntax-highlighting after completion. Likewise, zsh-users/zsh-autosuggestions goes better after zsh-users/zsh-syntax-highlighting.
find "$DOTLY_PATH/modules/zimfw" -name '*.old' -exec rm -rf {} \; | ||
|
||
/bin/zsh -c "source ${ZDOTDIR:-${HOME}}/.zlogin" | ||
zsh "$ZIM_HOME/zimfw.zsh" clean-compiled && zsh "$ZIM_HOME/zimfw.zsh" compile |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These two zimfw actions will do what you were doing before.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks you for creating Zim! 😊
I've modified the path where zim is installed. Also, thanks for all the advices. 😊
Hola! 👋 Qué surpresa tan buena encontrar que a ustedes les gusta Zim y lo utilizan en su dotfiles y su curso de Zsh!
See changelog in https://github.com/zimfw/zimfw/blob/master/CHANGELOG.md
Thanks a lot for chosing Zim as the Zsh framework of choice for your dotfiles and your courses!
I spotted a few points where the usage is not compatible with the changes since Zim 1.0.0 (released 2020-01-07):
zhighlighters
is deprecated in favor ofZSH_HIGHLIGHT_HIGHLIGHTERS
, since we're using the zsh-users/zsh-syntax-highlighting module directly now.upgrade
will upgrade the zimfw.zsh file itself, andupdate
will update the modules. You usually would want to do both if you want to "up" everything...