The Prisma plugin provides some completions for Prisma CLI.
Add antigen bundle AhmedElywa/zsh-prisma
to your ~/.zshrc
.
- Clone the repository inside your oh-my-zsh repo:
git clone https://github.com/AhmedElywa/zsh-prisma ${ZSH_CUSTOM:=~/.oh-my-zsh/custom}/plugins/prisma
- Enable it in your
.zshrc
by adding it to your plugin list and reloading the completion:
plugins=(… prisma)
-
Clone the repository:
git clone git://github.com/AhmedElywa/zsh-prisma.git
-
Include the directory in your
$fpath
, for example by adding in~/.zshrc
:fpath=(path/to/zsh-prisma $fpath)
-
You may have to force rebuild
zcompdump
:rm -f ~/.zcompdump; compinit
Prisma Commands |
---|
prisma |
prisma init |
prisma generate |
prisma db |
prisma db push |
prisma db pull |
prisma db seed |
prisma migrate |
prisma migrate dev |
prisma migrate reset |
prisma migrate deploy |
prisma migrate status |
prisma migrate resolve |
prisma studio |
prisma format |
Prisma Options |
---|
-h --help |
-v --version |
--preview-feature |
Alias | Command |
---|---|
p | prisma |
pi | prisma init |
pg | prisma generate |
pd | prisma db |
pdp | prisma db push |
pdl | prisma db pull |
pds | prisma db seed |
pm | prisma migrate |
pmd | prisma migrate dev |
pmr | prisma migrate reset |
pmy | prisma migrate deploy |
pms | prisma migrate status |
pmv | prisma migrate resolve |
po | prisma studio |
pf | prisma format |