https://github.com/veelenga/crystal-zsh
.oh-my-zsh plugin for Crystal
https://github.com/veelenga/crystal-zsh
crystal oh-my-zsh-plugin zsh-plugins
Last synced: 2 months ago
JSON representation
.oh-my-zsh plugin for Crystal
- Host: GitHub
- URL: https://github.com/veelenga/crystal-zsh
- Owner: veelenga
- License: mit
- Created: 2015-10-25T21:21:01.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-04-20T11:54:33.000Z (about 5 years ago)
- Last Synced: 2025-02-27T23:43:19.110Z (3 months ago)
- Topics: crystal, oh-my-zsh-plugin, zsh-plugins
- Language: Shell
- Homepage:
- Size: 8.79 KB
- Stars: 26
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# .oh-my-zsh plugin for [Crystal](https://github.com/crystal-lang/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](https://github.com/crystal-lang/crystal/blob/master/etc/completion.zsh).
It is installed automatically with Crystal distribution.## Installation
### [Antigen](https://github.com/zsh-users/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:
```sh
git clone https://github.com/veelenga/crystal-zsh.git ~/.oh-my-zsh/custom/plugins/crystal
```2. Add crystal to the plugins line of your `.zshrc` file (e.g. `plugins=(rails git crystal)`)
### [Zgen](https://github.com/tarjoilija/zgen)
Add `zgen load veelenga/crystal-zsh` to your .zshrc file in the same function you're doing your other `zgen load` calls in.