Skip to content

z-shell/playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

z-shell/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.