Skip to content

Commit

Permalink
docs added note about --path= for integrate zsh
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
silverqx committed Jun 16, 2022
1 parent 2c52fb0 commit 1f8e4d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/database/migrations.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ tom integrate bash

```bash
tom integrate zsh
tom integrate zsh --path=/usr/share/zsh/site-functions
```

</TabItem>
Expand Down Expand Up @@ -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`}
</CodeBlock>

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.

<CodeBlock className='language-bash'>
{`sudo ln -s ${applicationFolderPath(bash)}/TinyORM/tools/completions/tom.zsh /usr/local/share/zsh/site-functions/_tom`}
Expand Down

0 comments on commit 1f8e4d4

Please sign in to comment.