-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #264 from rsteube/update-doc
doc: updated instructions
- Loading branch information
Showing
11 changed files
with
59 additions
and
18 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
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 |
---|---|---|
@@ -1,30 +1,65 @@ | ||
# Usage | ||
|
||
## Bash | ||
```sh | ||
# bash | ||
source <(carapace-spec example.yaml) | ||
# ~/.bashrc | ||
source <(carapace-spec example/pkill.yaml) | ||
``` | ||
![](./usage/bash.png) | ||
|
||
# elvish | ||
eval (carapace-spec example.yaml|slurp) | ||
## Elvish | ||
```sh | ||
# ~/.config/elvish/rc.elv | ||
eval (carapace-spec example/pkill.yaml|slurp) | ||
``` | ||
![](./usage/elvish.png) | ||
|
||
# fish | ||
carapace-spec example.yaml | source | ||
## Fish | ||
```sh | ||
# ~/.config/fish/config.fish | ||
carapace-spec example/pkill.yaml | source | ||
``` | ||
![](./usage/fish.png) | ||
|
||
# oil | ||
source <(carapace-spec example.yaml) | ||
## Nushell | ||
> update config.nu according to [Multiple Completer](http://www.nushell.sh/cookbook/external_completers.html#multiple-completer)) | ||
```sh | ||
#~/.config/nushell/config.nu | ||
carapace-spec example/pkill.yaml | ||
``` | ||
![](./usage/nushell.png) | ||
|
||
# nushell (update config.nu according to output) | ||
carapace-spec example.yaml | ||
## Oil | ||
```sh | ||
# ~/.config/oil/oshrc | ||
source <(carapace-spec example/pkill.yaml) | ||
``` | ||
![](./usage/oil.png) | ||
|
||
# powershell | ||
carapace-spec example.yaml | Out-String | Invoke-Expression | ||
## Powershell | ||
```sh | ||
# ~/.config/powershell/Microsoft.PowerShell_profile.ps1 | ||
carapace-spec example/pkill.yaml | Out-String | Invoke-Expression | ||
``` | ||
![](./usage/powershell.png) | ||
|
||
# tcsh | ||
eval `carapace-spec example.yaml` | ||
# Tcsh | ||
```sh | ||
## ~/.tcshrc | ||
eval `carapace-spec example/pkill.yaml` | ||
``` | ||
![](./usage/tcsh.png) | ||
|
||
# xonsh | ||
exec($(carapace-spec example.yaml)) | ||
## Xonsh | ||
```sh | ||
# ~/.config/xonsh/rc.xsh | ||
exec($(carapace-spec example/pkill.yaml)) | ||
``` | ||
![](./usage/xonsh.png) | ||
|
||
# zsh | ||
source <(carapace-spec example.yaml) | ||
## Zsh | ||
```sh | ||
# ~/.zshrc | ||
source <(carapace-spec example/pkill.yaml) | ||
``` | ||
![](./usage/zsh.png) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.