Skip to content

Commit

Permalink
docs: move zsh details to command-completion.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hacdias committed Aug 17, 2023
1 parent df91baa commit 5e8bc3d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
13 changes: 0 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,6 @@ IPFS is a global, versioned, peer-to-peer filesystem. It combines good ideas fro

For more info see: https://docs.ipfs.tech/concepts/what-is-ipfs/

# ZSH

The zsh shell is also supported:

The simplest way to "eval" the completions logic:

```bash
> eval "$(ipfs commands completion zsh)"
```

To install the completions permanently, they can be moved to
`/etc/bash_completion.d` or sourced from your `~/.zshrc` file.

Before opening an issue, consider using one of the following locations to ensure you are opening your thread in the right place:
- kubo (previously named go-ipfs) _implementation_ bugs in [this repo](https://github.com/ipfs/kubo/issues).
- Documentation issues in [ipfs/docs issues](https://github.com/ipfs/ipfs-docs/issues).
Expand Down
13 changes: 13 additions & 0 deletions docs/command-completion.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,16 @@ The simplest way to use the completions logic:

To install the completions permanently, they can be moved to
`/etc/fish/completions` or `~/.config/fish/completions` or sourced from your `~/.config/fish/config.fish` file.

## ZSH

The zsh shell is also supported:

The simplest way to "eval" the completions logic:

```bash
> eval "$(ipfs commands completion zsh)"
```

To install the completions permanently, they can be moved to
`/etc/bash_completion.d` or sourced from your `~/.zshrc` file.

0 comments on commit 5e8bc3d

Please sign in to comment.