Our great sponsors
-
pz
Discontinued The fast, native, Zsh plugin manager [Moved to: https://github.com/mattmc3/antidote] (by mattmc3)
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
If we copy pz's code and paste it in zshrc, can we call it plugin-manager-less? 😛
I think most people built these zsh plugin managers because it's a fun little project. I did one too: zed 🤷🏼♂️
if [[ ! -e ~/.zsh/zsh-syntax-highlighting ]]; then git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.zsh/zsh-syntax-highlighting fi if [[ ! -e ~/.zsh/zsh-autosuggestions ]]; then git clone https://github.com/zsh-users/zsh-autosuggestions.git ~/.zsh/zsh-autosuggestions fi autoload -Uz compinit compinit PS1='%F{green}%n@%m%f %F{blue}%~%f%# ' source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
After antibody was deprecated last winter and the recent zinit debacle, I got to thinking - why do I even need a Zsh plugin manager? Thus, I have created zsh_unplugged to show you how you can clone and source Zsh plugins lightning fast with one simple Zsh function.
if [[ ! -e ~/.zsh/zsh-syntax-highlighting ]]; then git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.zsh/zsh-syntax-highlighting fi if [[ ! -e ~/.zsh/zsh-autosuggestions ]]; then git clone https://github.com/zsh-users/zsh-autosuggestions.git ~/.zsh/zsh-autosuggestions fi autoload -Uz compinit compinit PS1='%F{green}%n@%m%f %F{blue}%~%f%# ' source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
Have you had a look at zgenom?
👉 https://github.com/zdharma-continuum/zinit
I use chezmoi dotfiles manager for this
I use zsh-defer for lazy plugin loading and I fork all plugin repos to avoid the same situation as with zinit
It depends of the plugin. For example, for bd I've created a simple file where I source the plugin: https://github.com/Phantas0s/.dotfiles/blob/master/zsh/plugins/bd