1
0
Fork 0
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
Find a file
2019-06-27 22:28:26 +02:00
.github/ISSUE_TEMPLATE Update issue templates 2019-06-17 07:39:13 +02:00
lainiwa Split personal config files into two copies 2019-06-27 05:54:30 +02:00
NICHOLAS85 Update NICHOLAS85 files 2019-06-22 22:51:36 +02:00
psprint psprint: Add robobenklein/zinc prompt 2019-06-27 22:28:26 +02:00
.gitignore Add a draft of a helper script 2019-06-25 23:01:02 +03:00
LICENSE Initial commit 2019-06-17 03:27:52 +02:00
README.md Update README.md: the commands in the executing-config-howto snippet #5 2019-06-27 06:10:34 +02:00
run.sh run.sh: Use `RUN cp ...' instead of COPY 2019-06-27 22:05:02 +02:00
zplugin-configs.plugin.zsh Fix bugs in run.sh and wrap into zsh module 2019-06-27 05:54:30 +02:00

Table of Contents generated with DocToc

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:

Starting search

Then, results should appaer like below:

Search results

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