Skip to content

Commit

Permalink
doc: update nushell instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed Jan 19, 2023
1 parent e6191c9 commit fad9f57
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/carapace-spec/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var rootCmd = &cobra.Command{
elvish: eval (carapace-spec example.yaml|slurp)
fish: carapace-spec example.yaml | source
oil: source <(carapace-spec example.yaml)
nushell: carapace-spec example.yaml | save example.nu ; nu -c 'source example.nu'
nushell: carapace-spec example.yaml
powershell: carapace-spec example.yaml | Out-String | Invoke-Expression
tcsh: eval ` + "`" + `carapace-spec example.yaml` + "`" + `
xonsh: exec($(carapace-spec example.yaml))
Expand Down
4 changes: 2 additions & 2 deletions docs/src/carapace-spec/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ carapace-spec example.yaml | source
# oil
source <(carapace-spec example.yaml)

# nushell
carapace-spec example.yaml | save example.nu ; nu -c 'source example.nu'
# nushell (update config.nu according to output)
carapace-spec example.yaml

# powershell
carapace-spec example.yaml | Out-String | Invoke-Expression
Expand Down

0 comments on commit fad9f57

Please sign in to comment.