From 2ffc5671d58c453797c8011638565f271b53cd7f Mon Sep 17 00:00:00 2001 From: Magdalena Szweda Date: Sat, 10 Oct 2026 10:44:41 +0200 Subject: Shell(nu): add nushell and its config with Carapace. CHANGELOG: - New 'nu' directory - Nushell configuration with 'Carapace' for completion --- nu/.config/nushell/config.nu | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 nu/.config/nushell/config.nu (limited to 'nu') diff --git a/nu/.config/nushell/config.nu b/nu/.config/nushell/config.nu new file mode 100644 index 0000000..4d0c13d --- /dev/null +++ b/nu/.config/nushell/config.nu @@ -0,0 +1,12 @@ +$env.CARAPACE_BRIDGES = 'fish,zsh,bash' +$env.CARAPACE_LENIENT = 1 + +let carapace_completer = {|spans: list| + carapace $spans.0 nushell ...$spans | from json +} + +$env.config.completions.external = { + enable: true + max_results: 100 + completer: $carapace_completer +} -- cgit v1.2.3