Home

Awesome

Zinit Configurations<a name="zinit-configurations"></a>

<!-- mdformat-toc start --slug=github --maxlevel=6 --minlevel=2 --> <!-- mdformat-toc end -->

Searching the repository<a name="searching-the-repository"></a>

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<a name="submitting-zshrc"></a>

Open a PR

The repository structure<a name="the-repository-structure"></a>

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<a name="requirements"></a>

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<a name="fzf"></a>

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

fzy<a name="fzy"></a>

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<a name="running-a-configuration"></a>

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.