zdharma-continuum / zinit-configs

Real-world configuration files (basically zshrc-s) holding Zinit (former Zplugin) invocations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Real-world configuration files (basically zshrc-s) holding Zinit (former Zplugin) invocations

License:MIT License


Languages

Language:Shell 99.6%Language:Dockerfile 0.4%