From 1f8e4d416502ca298b6c9c2cd6ab26ee4d94ffad Mon Sep 17 00:00:00 2001 From: silverqx Date: Thu, 16 Jun 2022 10:52:20 +0200 Subject: [PATCH] docs added note about --path= for integrate zsh [skip ci] --- docs/database/migrations.mdx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/database/migrations.mdx b/docs/database/migrations.mdx index d40b4bbb2..4a48ae08d 100644 --- a/docs/database/migrations.mdx +++ b/docs/database/migrations.mdx @@ -104,6 +104,7 @@ tom integrate bash ```bash tom integrate zsh +tom integrate zsh --path=/usr/share/zsh/site-functions ``` @@ -135,7 +136,7 @@ For `bash` you can copy or create symlink of the `/tools/completions/tom.bash` f {`sudo ln -s ${applicationFolderPath(bash)}/TinyORM/tools/completions/tom.bash /usr/share/bash-completion/completions/tom`} -And for `zsh` you can copy or create symlink of the `/tools/completions/tom.zsh` file to the `_tom` file to `/usr/local/share/zsh/site-functions` folder. +And for `zsh` you can copy or create symlink of the `/tools/completions/tom.zsh` file to the `_tom` file to `/usr/local/share/zsh/site-functions` folder or you can pass a custom path using the `--path=` option. {`sudo ln -s ${applicationFolderPath(bash)}/TinyORM/tools/completions/tom.zsh /usr/local/share/zsh/site-functions/_tom`}