Nushell: Difference between revisions

Add a code block with an expanded example config for nushell
m Add carapace bridges
Line 43: Line 43:
           | if ($in | default [] | where value == $"($spans | last)ERR" | is-empty) { $in } else { null }
           | if ($in | default [] | where value == $"($spans | last)ERR" | is-empty) { $in } else { null }
         }
         }
        # some completions are only available through a bridge
        # eg. tailscale
        # https://carapace-sh.github.io/carapace-bin/setup.html#nushell
        $env.CARAPACE_BRIDGES = 'zsh,fish,bash,inshellisense'


         # fish completions https://www.nushell.sh/cookbook/external_completers.html#fish-completer
         # fish completions https://www.nushell.sh/cookbook/external_completers.html#fish-completer