.oh-my-zsh plugin for Crystal
cr
aliasescrystal
cri
aliasescrystal init
crb
aliasescrystal build
crd
aliasescrystal deps
crdo
aliasescrystal docs
cren
aliasescrystal env
cre
aliasescrystal eval
crp
aliasescrystal play
crs
aliasescrystal spec
crr
aliasescrystal run
crt
aliasescrystal tool
crtc
aliasescrystal tool context
crtf
aliasescrystal tool format
crth
aliasescrystal tool hierarchy
crti
aliasescrystal tool implementations
crtt
aliasescrystal 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
- Clone repo into your custom plugins directory:
git clone https://github.com/veelenga/crystal-zsh.git ~/.oh-my-zsh/custom/plugins/crystal
- 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.