2024-01-14 18:35:00 +01:00
|
|
|
let carapace_completer = {|spans|
|
2024-02-10 14:52:08 +01:00
|
|
|
carapace ...$spans.0 nushell ...$spans | from json
|
2024-01-14 18:35:00 +01:00
|
|
|
}
|
|
|
|
$env.config = {
|
2024-02-03 17:22:58 +01:00
|
|
|
table: {
|
|
|
|
mode: light
|
|
|
|
}
|
2024-01-14 18:35:00 +01:00
|
|
|
show_banner: false,
|
|
|
|
completions: {
|
|
|
|
case_sensitive: false # case-sensitive completions
|
|
|
|
quick: true # set to false to prevent auto-selecting completions
|
|
|
|
partial: true # set to false to prevent partial filling of the prompt
|
2024-02-10 22:24:36 +01:00
|
|
|
algorithm: "prefix" # prefix or fuzzy
|
2024-01-14 18:35:00 +01:00
|
|
|
external: {
|
|
|
|
# set to false to prevent nushell looking into $env.PATH to find more suggestions
|
|
|
|
enable: true
|
|
|
|
# set to lower can improve completion performance at the cost of omitting some options
|
|
|
|
max_results: 100
|
|
|
|
completer: $carapace_completer # check 'carapace_completer'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$env.PATH = ($env.PATH |
|
|
|
|
split row (char esep) |
|
|
|
|
prepend /home/myuser/.apps |
|
|
|
|
append /usr/bin/env
|
|
|
|
)
|
2024-02-08 17:22:38 +01:00
|
|
|
uwufetch --image
|