-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import { Tabs } from "nextra/components" | ||
|
||
# Installing completions | ||
|
||
Based on the shell you are using, you can install completions with the following commands: | ||
|
||
<Tabs items={["bash", "fish", "zsh", "nushell"]}> | ||
<Tabs.Tab> | ||
```bash copy | ||
rwalk --completions bash > /usr/local/etc/bash_completion.d/ | ||
``` | ||
</Tabs.Tab> | ||
<Tabs.Tab> | ||
```bash copy | ||
rwalk --completions fish > ~/.config/fish/completions/rwalk.fish | ||
``` | ||
</Tabs.Tab> | ||
<Tabs.Tab> | ||
```bash copy | ||
rwalk --completions zsh > /usr/local/share/zsh/site-functions/_rwalk | ||
``` | ||
</Tabs.Tab> | ||
<Tabs.Tab> | ||
```bash copy | ||
mkdir $"($nu.default-config-dir)/completions"; rwalk --completions nushell | save $"($nu.default-config-dir)/completions/rwalk.nu" -f; echo 'source $"($nu.default-config-dir)/completions/rwalk.nu"' | save -a $nu.config-path | ||
``` | ||
</Tabs.Tab> | ||
</Tabs> | ||
|
||
After running the above command, you will need to restart your shell to use the completions. | ||
|