1
0
Fork 0
mirror of https://github.com/zdharma-continuum/zinit-configs.git synced 2024-11-21 04:08:00 +01:00
Real-world configuration files (basically zshrc-s) holding Zinit (former Zplugin) invocations
Find a file
2023-04-16 00:39:43 -05:00
.github feat: add lint gh action workflow (#14) 2023-04-16 00:39:43 -05:00
00dani maint: normalize configuration file names to be "zshrc" (#11) 2022-06-04 07:40:14 -05:00
agkozak maint: improve run.sh and Dockerfile logic 2022-11-04 21:57:29 -05:00
brucebentley maint: improve run.sh and Dockerfile logic 2022-11-04 21:57:29 -05:00
jubi maint: normalize configuration file names to be "zshrc" (#11) 2022-06-04 07:40:14 -05:00
lainiwa maint: improve run.sh and Dockerfile logic 2022-11-04 21:57:29 -05:00
NICHOLAS85 maint: normalize configuration file names to be "zshrc" (#11) 2022-06-04 07:40:14 -05:00
numToStr feat: add lint gh action workflow (#14) 2023-04-16 00:39:43 -05:00
psprint maint: normalize configuration file names to be "zshrc" (#11) 2022-06-04 07:40:14 -05:00
vladdoster feat: add lint gh action workflow (#14) 2023-04-16 00:39:43 -05:00
.gitignore Make Dockerfile templated with build args 2019-06-29 07:54:07 +02:00
Dockerfile maint: improve run.sh and Dockerfile logic 2022-11-04 21:57:29 -05:00
LICENSE Initial commit 2019-06-17 03:27:52 +02:00
README.md feat: add lint gh action workflow (#14) 2023-04-16 00:39:43 -05:00
run.sh maint: update plugin 2022-11-04 22:31:20 -05:00
zinit-configs.plugin.zsh maint: update plugin 2022-11-04 22:31:20 -05:00

Zinit Configurations

Searching the repository

Use the Github search interface – just enter a query (i.e., 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 appear like below:

Search results

Submitting zshrc

Open a PR

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.

Requirements

You should have docker and zsh installed to use this functionality.

fzf or fzy in your $PATH. You might choose to install any of them via zinit:

fzf

zinit for \
    as"command" \
    from"gh-r" \
    load \
  @junegunn/fzf-bin

fzy

zinit for \
    as"command" \
    atclone"cp contrib/fzy-* $ZPFX/bin/" \
    load \
    make"!PREFIX=$ZPFX install" \
    pick"$ZPFX/bin/fzy*" \
  @jhawthorn/fzy

Keep in mind you will need a few Gb of free space to store docker images.

Running a configuration

To try a configuration, you have to clone this repository and execute a run.sh script:

git clone https://github.com/zdharma-continuum/zinit-configs
cd zinit-configs
./run.sh

Or you can install this repository as a zsh plugin!

zinit load zdharma-continuum/zinit-configs
zinit configs

Now you will have to wait for a few minutes, while the required environment is being installed into the docker image. The next time you will want to try a configuration, loading it will take less time.