Skip to content

brucmao/playground

 
 

Repository files navigation

Logo ❮ ZI ❯ Playground

▶️ Playground

Pull-requests welcomed!

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

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:

  • Directories named after the user-names of the submitting users.
  • In those directories there are files that the user decided to share.
  • For additional installs/setup, create and fill bootstrap.zsh

Try configurations with docker

Requirements

You should have present on your system:

  • zsh > 5.3
  • docker - curl https://get.docker.com | sh
  • fzf or fzy in your $PATH.

You might choose to install via zi

Install fzf:

zi ice from"gh-r" as"command"
zi load junegunn/fzf-bin

Install fzy:

zi ice as"command" make"\!PREFIX=$ZPFX install" \
  atclone"cp contrib/fzy-* $ZPFX/bin/" \
  pick"$ZPFX/bin/fzy*"
zi 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:

git clone 'https://github.com/z-shell/playground'
./playground/run.sh

Install and run this repository as a zsh plugin!

zi load z-shell/playground
playground

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

🐳 User configuration playground

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 99.6%
  • Dockerfile 0.4%