Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
wereket
@wereket
are there a command to install the most use plugins ?
Sall
@ss-o:matrix.org
[m]

If it is hard, then probably you should stay with zimfw, as Zi is for more advanced users.
Command to install plugins a bit more complex but allows to install almost anything, not only zsh specific and many users has they own style of loading plugins and has syntax alternatives.

Some examples: https://wiki.zshell.dev/community/category/-collection
Overview: https://wiki.zshell.dev/docs/getting_started/overview
Search: https://wiki.zshell.dev/search

wereket
@wereket
@ss-o:matrix.org is there a sane default with the most used plugins ?
the fact some zi can act as a package manager does not create conflict with the distropackage manager /
?
Sall
@ss-o:matrix.org
[m]

Not sure what you mean by defaults. Zi is not framework-specific, so can use Oh-My-Zsh, Presto and etc., so it not limits you to something and most users have their own defaults, the only way to learn it is reading wiki while practising.

Here is user recently migrated from Oh-My-Zsh: https://github.com/Lunarequest/Dotfiles/blob/mistress/zsh/.zshrc
Some other example: https://github.com/z-shell/playground/tree/main/profiles

I put this in .zshrc ? zi ice lucid wait as'completion' blockf
zi light zchee/zsh-completions
?
Sall
@ss-o:matrix.org
[m]
Yes 👍️
Lucy
@lucy:mary.zone
[m]

Is there any way to combine a zi ice and zi snippet into one command?
Like these:

    zi ice lucid wait as'completion' blockf has'rg'
    zi snippet https://github.com/BurntSushi/ripgrep/blob/master/complete/_rg

I simply think it'd look cleaner as a single command.

Lucy
@lucy:mary.zone
[m]
I just found the "For" page, so yeah there is.
Sall
@ss-o:matrix.org
[m]
There is a bit of confusion between standard and “for” syntax, I am trying to reference it in wiki
wereket
@wereket
hello everyone
please can someone helo
help
Sall
@ss-o:matrix.org
[m]
👋
wereket
@wereket
@ss-o:matrix.org hello mate
am currently with zimfw and stumbeld on zi
but it's a headache it seem a config made by aliens
Sall
@ss-o:matrix.org
[m]
Tell me what you trying to install
wereket
@wereket
does someone has a zi config with the best plugins already installed
there is the default that has only completion
I am using the great starship prompt
Sall
@ss-o:matrix.org
[m]
Everyone has their own best plugins. Let me have a look, give a sec.
wereket
@wereket
thank you
Sall
@ss-o:matrix.org
[m]
# Sets sane Zsh built-in environment options.
zmodule environment
# Provides handy git aliases and functions.
zmodule git
# Applies correct bindkeys for input events.
zmodule input
# Sets a custom terminal title.
zmodule termtitle
# Utility aliases and functions. Adds colour to ls, grep and less.
zmodule utility
It's prezto modules?
wereket
@wereket
no
zim modules
Sall
@ss-o:matrix.org
[m]
ZImfw modules seems to be stolen from Prezto, here are docs how to install Prezto modules: https://wiki.zshell.dev/docs/getting_started/migration#prezto
name plugins you want to install, I'll give you commands, however the ones you currently use are in the wiki already.
wereket
@wereket
stolen how ?
did not know that
inspired maybe ?
1 reply
Sall
@ss-o:matrix.org
[m]
:point_up: Edit: ZImfw modules looks similar to Prezto, here are docs how to install Prezto modules: https://wiki.zshell.dev/docs/getting\_started/migration#prezto
Gabriel Nützi
@gabyx
Hi all, Is there a way to speed up startup so far I have only the followin in the configuration
# Install Zi tool
local cs_ok='7fab1ecb8d2ffbdb4aa98dd1e51cebaeaa4d8137e1de11938f3e0df24af262bb'
local cs=$(sha256sum <(curl -sL git.io/zi-loader) | awk '{print $1}')
[[ $cs_ok == $cs ]] && {
    source <(curl -sL git.io/zi-loader)
    zzinit
} || {
    print -P "%F{160}▓▒░ Houston, we have a problem, the %F{226}$cs%F{160} do not match\!%f%b"
    exit 1
}

# Zsh Plugins
zi load zsh-users/zsh-syntax-highlighting
zi load zsh-users/zsh-autosuggestions
zi load zsh-users/zsh-completions
zi load romkatv/powerlevel10k
zi load psprint/zsh-navigation-tools

zi snippet "OMZ::plugins/command-not-found/command-not-found.plugin.zsh"
zi snippet "https://github.com/zsh-users/zsh-history-substring-search/blob/master/zsh-history-substring-search.zsh"
zi snippet "https://github.com/felixr/docker-zsh-completion/blob/master/docker-zsh-completion.plugin.zsh"
zi snippet "https://github.com/supercrabtree/k/blob/master/k.sh"
1 reply
Sall
@ss-o:matrix.org
[m]
Welcome @onokatio 👋
Blair Hamilton
@blairham
Hello, sadly looks like git.io has removed the redirect for "https://git.io/zi-loader"
1 reply