GithubHelp home page GithubHelp logo

thanhbinh01234 / zinit-configs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tortious/zplugin-configs

0.0 1.0 0.0 240 KB

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

License: MIT License

Shell 99.17% Dockerfile 0.83%

zinit-configs's Introduction

Table of Contents generated with DocToc

zinit-configs

Pull-requests welcomed!

Feel free to submit your zshrc if it contains zinit commands.

Searching the repository

Use the Github search interface – 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 appear 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 zinit:

# Install fzf
zinit ice from"gh-r" as"command"
zinit load junegunn/fzf-bin
# or fzy
zinit ice as"command" make"\!PREFIX=$ZPFX install" \
    atclone"cp contrib/fzy-* $ZPFX/bin/" \
    pick"$ZPFX/bin/fzy*"
zinit 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/zinit-configs'
# Run the configuration picker
./zinit-configs/run.sh

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

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

zinit-configs's People

Contributors

agkozak avatar jubishop avatar lainiwa avatar nicholas85 avatar psprint avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.