mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-21 21:30:09 +00:00
Add hanami plugin inspired by rails
This commit is contained in:
parent
a8f3b374d8
commit
0bd9e5d859
1 changed files with 19 additions and 0 deletions
19
plugins/hanami/hanami.plugin.zsh
Normal file
19
plugins/hanami/hanami.plugin.zsh
Normal file
|
@ -0,0 +1,19 @@
|
|||
alias -g HED='HANAMI_ENV=development'
|
||||
alias -g HEP='HANAMI_ENV=production'
|
||||
alias -g HET='HANAMI_ENV=test'
|
||||
|
||||
alias hc='hanami console'
|
||||
alias hd='hanami destroy'
|
||||
alias hg='hanami generate'
|
||||
alias hgm='hanami generate migration'
|
||||
alias hs='hanami server'
|
||||
alias hsp='hanami server -p'
|
||||
alias hr='hanami routes'
|
||||
alias hdc='hanami db create'
|
||||
alias hdd='hanami db drop'
|
||||
alias hdp='hanami db prepare'
|
||||
alias hda='hanami db apply'
|
||||
alias hdv='hanami db version'
|
||||
alias hdrs='hdd && hdp'
|
||||
alias hdtp='HET hdp'
|
||||
alias hrg='hr | grep'
|
Loading…
Reference in a new issue