Skip to content
.oh-my-zsh plugin for Crystal
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
crystal.plugin.zsh

README.md

.oh-my-zsh plugin for Crystal

  • cr aliases crystal

  • cri aliases crystal init

  • crb aliases crystal build

  • crc aliases crystal compile (deprecated, use build instead)

  • 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.

You can’t perform that action at this time.