docs: Fixed a typo in the shell integrations documentation

This commit is contained in:
2025-11-07 12:25:26 -07:00
parent 5b49553c6d
commit 95df054dfb
+12 -6
View File
@@ -82,12 +82,18 @@ $ find . -name '*.ts' -type f -exec awk 'NR>100{exit 1}' {} \; -print
``` ```
To use the CLI helper, add the content of the appropriate integration script for your shell to your shell configuration file: To use the CLI helper, add the content of the appropriate integration script for your shell to your shell configuration file:
* [Bash Integration](../scripts/shell-integration/bash-integration.sh) (add to: `~/.bashrc`) * [Bash Integration](../scripts/shell-integration/integration.bash) (add to: `~/.bashrc`)
* [Zsh Integration](../scripts/shell-integration/zsh-integration.zsh) (add to: `~/.zshrc`) * [Zsh Integration](../scripts/shell-integration/integration.zsh) (add to: `~/.zshrc`)
* [Elvish Integration](../scripts/shell-integration/elvish-integration.elv) (add to: `~/.elvish/rc.elv`) * [Elvish Integration](../scripts/shell-integration/integration.elv) (add to: `~/.elvish/rc.elv`)
* [Fish Integration](../scripts/shell-integration/fish-integration.fish) (add to: `~/.config/fish/config.fish`) * [Fish Integration](../scripts/shell-integration/integration.fish) (add to: `~/.config/fish/config.fish`)
* [Nushell Integration](../scripts/shell-integration/nushell-integration.nu) (add to: `~/.config/nushell/config.nu`) * [Nushell Integration](../scripts/shell-integration/integration.nu) (add to: `~/.config/nushell/config.nu`)
* [PowerShell Integration](../scripts/shell-integration/powershell-integration.ps1) (add to: `$PROFILE`) * [PowerShell Integration](../scripts/shell-integration/integration.ps1) (add to: `$PROFILE`)
## Explain Commands
In addition to the Shell Assistant, Loki has a built-in role that explains shell commands to you to decipher their
language. So if Loki generates a command that you're unsure of what it does, simply pass it to the `explain-shell` role:
![Explain Shell Role](./images/shell_integrations/explain-shell.png)
## Code Generation ## Code Generation
Users can also directly generate code snippets from natural language prompts using the `-c,--code` flag. Users can also directly generate code snippets from natural language prompts using the `-c,--code` flag.