This commit is contained in:
Thomas Forgione 2024-07-31 14:14:27 +02:00
parent 86195264c1
commit f55bac9802
2 changed files with 5 additions and 5 deletions

View File

@ -133,9 +133,9 @@ let light_theme = {
} }
# External completer example # External completer example
# let carapace_completer = {|spans| let carapace_completer = {|spans|
# carapace $spans.0 nushell $spans | from json carapace $spans.0 nushell $spans | from json
# } }
# The default config record. This is where much of your global configuration is setup. # The default config record. This is where much of your global configuration is setup.
$env.config = { $env.config = {
@ -206,7 +206,7 @@ $env.config = {
external: { 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 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 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
} }
} }

2
env.nu
View File

@ -46,7 +46,7 @@ def create_left_prompt [] {
# Hostname # Hostname
let hostname_color = ansi green_bold let hostname_color = ansi green_bold
let hostname = (sys).host.hostname let hostname = (sys host).hostname
# Current director # Current director
let dir_color = ansi blue_bold let dir_color = ansi blue_bold