8000 GitHub - kraiz/zplugin-configs: Real-world configuration files (basically zshrc-s) holding Zplugin invocations
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kraiz/zplugin-configs

 
 

Repository files navigation

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.

Try configurations with docker

Requirements

You should have docker and zsh installed to use this functionality. Check you have them present on your system:

docker version
zsh --version

The other dependency is interactive filter. You should have either fzf or fzy in your $PATH. You might choose to install any of them 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

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:

# Clone repository with configurations
git clone 'https://github.com/zdharma/zplugin-configs'
# Run the configuration picker
./zplugin-configs/run.sh

... or you can install this repository as a zsh plugin!

# Then, install this repo
zplugin load zdharma/zplugin-configs
# Run the command
zplugin-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 Zplugin invocations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 98.0%
  • Dockerfile 2.0%
0