From adfc8e5152df722515a643379728068faebc8a63 Mon Sep 17 00:00:00 2001 From: Atemu Date: Mon, 6 May 2024 13:46:23 +0200 Subject: [PATCH] nushell: activate carapace completer --- .config/nushell/config.nu | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.config/nushell/config.nu b/.config/nushell/config.nu index 3936a05..e24a171 100644 --- a/.config/nushell/config.nu +++ b/.config/nushell/config.nu @@ -137,9 +137,9 @@ let light_theme = { } # External completer example -# let carapace_completer = {|spans| -# carapace $spans.0 nushell ...$spans | from json -# } +let carapace_completer = {|spans| + carapace $spans.0 nushell ...$spans | from json +} # The default config record. This is where much of your global configuration is setup. $env.config = { @@ -210,7 +210,7 @@ $env.config = { external: { enable: true # set to false to prevent nushell looking into $env.PATH to find more suggestions, `false` recommended for WSL users as this look up may be very slow max_results: 100 # setting it lower can improve completion performance at the cost of omitting some options - completer: null # check 'carapace_completer' above as an example + completer: $carapace_completer # check 'carapace_completer' above as an example } use_ls_colors: true # set this to true to enable file/path/directory completions using LS_COLORS }