Discover, install, and configure shell plugins with Fig Plugin Store →
⚡️

Crystal Zsh

.oh-my-zsh plugin for Crystal

veelenga
|
27 stars
4 forks

.oh-my-zsh plugin for Crystal

  • cr aliases crystal

  • cri aliases crystal init

  • crb aliases crystal build

  • crd aliases crystal deps

  • crdo aliases crystal docs

  • cren aliases crystal env

  • cre aliases crystal eval

  • crp aliases crystal play

  • crs aliases crystal spec

  • crr aliases crystal run

  • crt aliases crystal tool

  • crtc aliases crystal tool context

  • crtf aliases crystal tool format

  • crth aliases crystal tool hierarchy

  • crti aliases crystal tool implementations

  • crtt aliases crystal tool types

Note: you may also want to use autocompletions for Crystal. It is installed automatically with Crystal distribution.

Installation

Antigen

Add antigen bundle veelenga/crystal-zsh to your .zshrc with your other bundle commands. Antigen will handle cloning the plugin for you automatically the next time you start zsh. You can also add the plugin to a running zsh with antigen bundle veelenga/crystal-zsh for testing before adding it to your .zshrc.

Oh-My-Zsh

  1. Clone repo into your custom plugins directory:
  git clone https://github.com/veelenga/crystal-zsh.git ~/.oh-my-zsh/custom/plugins/crystal
  1. Add crystal to the plugins line of your .zshrc file (e.g. plugins=(rails git crystal))

Zgen

Add zgen load veelenga/crystal-zsh to your .zshrc file in the same function you're doing your other zgen load calls in.