mirror of
https://github.com/kp2pml30/dotfiles.git
synced 2026-04-14 14:21:45 +04:00
14 lines
258 B
Text
14 lines
258 B
Text
source $"($nu.cache-dir)/carapace.nu"
|
|
|
|
let carapace_completer = {|spans|
|
|
carapace $spans.0 nushell ...$spans | from json
|
|
}
|
|
|
|
$env.config.completions = {
|
|
algorithm: "fuzzy"
|
|
external: {
|
|
enable: true
|
|
max_results: 100
|
|
completer: $carapace_completer
|
|
}
|
|
}
|