nushell: Small fixes
This commit is contained in:
@ -30,6 +30,13 @@ source theme.nu
|
|||||||
$env.config = {
|
$env.config = {
|
||||||
show_banner: false
|
show_banner: false
|
||||||
|
|
||||||
|
display_errors: {
|
||||||
|
exit_code: false # assume the external command prints an error message
|
||||||
|
# Core dump errors are always printed, and SIGPIPE never triggers an error.
|
||||||
|
# The setting below controls message printing for termination by all other signals.
|
||||||
|
termination_signal: true
|
||||||
|
}
|
||||||
|
|
||||||
ls: {
|
ls: {
|
||||||
use_ls_colors: true # use the LS_COLORS environment variable to colorize output
|
use_ls_colors: true # use the LS_COLORS environment variable to colorize output
|
||||||
clickable_links: true # enable or disable clickable links. Your terminal has to support links.
|
clickable_links: true # enable or disable clickable links. Your terminal has to support links.
|
||||||
|
|||||||
@ -78,6 +78,10 @@ $env.NU_PLUGIN_DIRS = [
|
|||||||
# ($nu.default-config-dir | path join 'plugins') # add <nushell-config-dir>/plugins
|
# ($nu.default-config-dir | path join 'plugins') # add <nushell-config-dir>/plugins
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if XDG_CONFIG_HOME not-in $env {
|
||||||
|
$env.XDG_CONFIG_HOME = $"($env.HOME)/.config"
|
||||||
|
}
|
||||||
|
|
||||||
$env.PATH = ($env.PATH | split row (char esep) | prepend [
|
$env.PATH = ($env.PATH | split row (char esep) | prepend [
|
||||||
($env.HOME + "/.local/bin"),
|
($env.HOME + "/.local/bin"),
|
||||||
($env.HOME + "/.cargo/bin"),
|
($env.HOME + "/.cargo/bin"),
|
||||||
|
|||||||
Reference in New Issue
Block a user