mirror of
https://github.com/zdharma-continuum/zinit-configs.git
synced 2025-02-24 22:49:26 +01:00
Real-world configuration files (basically zshrc-s) holding Zinit (former Zplugin) invocations
.github/ISSUE_TEMPLATE | ||
lainiwa | ||
NICHOLAS85 | ||
psprint | ||
.gitignore | ||
LICENSE | ||
README.md | ||
run.sh | ||
zplugin-configs.plugin.zsh |
Table of Contents generated with DocToc
- zplugin-configs
- Searching the repository
- Submitting zshrc
- The repository structure
- Executing config inside a docker container via zplugin
zplugin-configs
Pull-requests welcomed!
Feel free to submit your zshrc if it contains zplugin
commands (or just the section with the commands extracted).
Searching the repository
Use the Github search inerface – just enter a query e.g. "trapd00r/LS_COLORS" like in the picture below, to find zshrc with references to this plugin, and ensure that you activate the "in this repository" variant of the search:
Then, results should appaer like below:
OR ...
just clone the repository and issue ack
, ag
or grep
command :)
Submitting zshrc
You can either:
- open a PR – fastest method
- submit an issue with URL to the zshrc (or with the zshrc pasted) – a quick link
The repository structure
The structure of the repository is very simple: in its main directory there are directories located, named after the user-names of the submitting users. In those directories there are the zshrc files that the user decided to share.
Executing config inside a docker container via zplugin
# Install fzf
zplugin ice from"gh-r" as"command"
zplugin load junegunn/fzf-bin
# or fzy
zplugin ice as"command" make"\!PREFIX=$ZPFX install" \
atclone"cp contrib/fzy-* $ZPFX/bin/" \
pick"$ZPFX/bin/fzy*"
zplugin load jhawthorn/fzy
# Then, install this repo
zplugin ice cloneopts'--branch feature-run --single-branch'
zplugin load zdharma/zplugin-configs
# Run the command
zplugin-configs