ericmurphyxyz / dotfiles

My Hyprland dotfiles on Arch Linux (btw)
614 stars 73 forks source link

Organizing zsh plugins in the dotfiles repository? #20

Closed 766F6964 closed 6 months ago

766F6964 commented 6 months ago

I noticed that in your dotfiles repository, specifically within the .config/zsh directory, only the .zshrc and .p10k.zsh files are provided. The .zshrc file depends on several plugins, such as zsh-syntax-highlighting, zsh-history-substring-search, you-should-use, and zsh-auto-suggestions. I'm curious as to why these plugins are not included. Do you install them externally?

I am asking this primarily to organize my own dotfiles better, and I am curious about your approach. For instance, the you-should-use plugin is a simple .zsh file that could easily be included in the repository. However, other plugins, like zsh-auto-suggestions, consist of multiple interconnected .zsh files.

What do you think is the best approach to organize these plugins more efficiently?

ericmurphyxyz commented 6 months ago

My zsh plugins have been pretty unorganized for a while. I was just manually installing them every time I set up a new computer, which was not the most efficient way to do it. After seeing this, I ended up reorganizing my .zshrc and adding a simple script so all the plugins will automatically be installed the first time you run zsh. Hope that helps you organize your own dotfiles in some way.