2021-02-10 00:11:36 +01:00
|
|
|
filesize_format = "B" # can be b, kb, kib, mb, mib, gb, gib, etc
|
2021-02-11 09:52:34 +01:00
|
|
|
filesize_metric = true # true => (KB, MB, GB), false => (KiB, MiB, GiB)
|
2020-09-01 07:09:55 +02:00
|
|
|
skip_welcome_message = true
|
2020-07-21 04:15:58 +02:00
|
|
|
disable_table_indexes = false
|
|
|
|
nonzero_exit_errors = true
|
2020-09-01 07:09:55 +02:00
|
|
|
startup = [
|
2021-02-09 05:44:42 +01:00
|
|
|
"alias la = ls --long",
|
|
|
|
"def nudown [] {fetch https://api.github.com/repos/nushell/nushell/releases | get assets | select name download_count}",
|
2021-02-10 15:58:38 +01:00
|
|
|
"def nuver [] {version | pivot key value}",
|
2020-09-01 07:09:55 +02:00
|
|
|
]
|
2021-02-09 16:06:30 +01:00
|
|
|
table_mode = "other" # basic, compact, compact_double, light, thin, with_love, rounded, reinforced, heavy, none, other
|
2020-07-21 04:15:58 +02:00
|
|
|
plugin_dirs = ["D:\\Src\\GitHub\\nu-plugin-lib\\samples\\Nu.Plugin.Len\\bin\\Debug\\netcoreapp3.1"]
|
2021-02-10 00:11:36 +01:00
|
|
|
pivot_mode = "auto" # auto, always, never
|
2020-07-21 04:15:58 +02:00
|
|
|
ctrlc_exit = false
|
|
|
|
complete_from_path = true
|
|
|
|
rm_always_trash = true
|
2021-02-09 05:44:42 +01:00
|
|
|
prompt = "echo $(ansi gb) $(pwd) $(ansi reset) \"(\" $(ansi cb) $(do -i { git rev-parse --abbrev-ref HEAD | str trim }) $(ansi reset) \")\" $(char newline) $(ansi yb) $(date --format \"%m/%d/%Y %I:%M:%S%.3f %p\" --raw) $(ansi reset) \"> \" | str collect"
|
2020-07-21 04:15:58 +02:00
|
|
|
|
2020-09-01 15:48:27 +02:00
|
|
|
# for each of the options in the color_config section, you are able to set
|
|
|
|
# the color alone or with one of the following attributes.
|
|
|
|
# color, abbreviation
|
|
|
|
# green g
|
|
|
|
# red r
|
|
|
|
# blue u
|
|
|
|
# black b
|
|
|
|
# yellow y
|
|
|
|
# purple p
|
|
|
|
# cyan c
|
|
|
|
# white w
|
|
|
|
# attribute, abbreviation
|
|
|
|
# bold b
|
|
|
|
# underline u
|
|
|
|
# italic i
|
|
|
|
# dimmed d
|
|
|
|
# reverse r
|
|
|
|
# abbreviated: green bold = gb, red underline = ru, blue dimmed = ud
|
|
|
|
# or verbose: green_bold, red_underline, blue_dimmed
|
|
|
|
|
2020-09-01 07:09:55 +02:00
|
|
|
[color_config]
|
|
|
|
primitive_int = "green"
|
|
|
|
primitive_decimal = "red"
|
|
|
|
primitive_filesize = "ur"
|
|
|
|
primitive_string = "pb"
|
|
|
|
primitive_line = "yellow"
|
|
|
|
primitive_columnpath = "cyan"
|
|
|
|
primitive_pattern = "white"
|
|
|
|
primitive_boolean = "green"
|
|
|
|
primitive_date = "ru"
|
|
|
|
primitive_duration = "blue"
|
|
|
|
primitive_range = "purple"
|
|
|
|
primitive_path = "yellow"
|
|
|
|
primitive_binary = "cyan"
|
|
|
|
separator_color = "purple"
|
|
|
|
header_align = "l" # left|l, right|r, center|c
|
|
|
|
header_color = "c" # green|g, red|r, blue|u, black|b, yellow|y, purple|p, cyan|c, white|w
|
|
|
|
header_bold = true
|
|
|
|
index_color = "rd"
|
2020-12-18 14:47:05 +01:00
|
|
|
leading_trailing_space_bg = "white"
|
2020-09-01 07:09:55 +02:00
|
|
|
|
2020-07-23 13:49:25 +02:00
|
|
|
[line_editor]
|
|
|
|
max_history_size = 100000
|
2020-09-01 07:09:55 +02:00
|
|
|
history_duplicates = "ignoreconsecutive" # alwaysadd,ignoreconsecutive
|
|
|
|
history_ignore_space = false
|
2020-07-23 13:49:25 +02:00
|
|
|
completion_type = "circular" # circular, list, fuzzy
|
2020-09-01 07:09:55 +02:00
|
|
|
completion_prompt_limit = 100
|
2020-07-23 13:49:25 +02:00
|
|
|
keyseq_timeout_ms = 500 # ms
|
2020-09-01 07:09:55 +02:00
|
|
|
edit_mode = "emacs" # vi, emacs
|
2020-07-23 13:49:25 +02:00
|
|
|
auto_add_history = true
|
|
|
|
bell_style = "audible" # audible, none, visible
|
|
|
|
color_mode = "enabled" # enabled, forced, disabled
|
|
|
|
tab_stop = 4
|
|
|
|
|
2020-07-21 04:15:58 +02:00
|
|
|
[textview]
|
2021-02-10 00:11:36 +01:00
|
|
|
term_width = "default" # "default" or a number
|
2020-07-21 04:15:58 +02:00
|
|
|
tab_width = 4
|
|
|
|
colored_output = true
|
|
|
|
true_color = true
|
|
|
|
header = true
|
|
|
|
line_numbers = true
|
|
|
|
grid = false
|
|
|
|
vcs_modification_markers = true
|
|
|
|
snip = true
|
2021-02-10 00:11:36 +01:00
|
|
|
wrapping_mode = "NoWrapping" # Character, NoWrapping
|
2020-07-21 04:15:58 +02:00
|
|
|
use_italics = true
|
2021-02-10 00:11:36 +01:00
|
|
|
paging_mode = "QuitIfOneScreen" # Always, QuitIfOneScreen, Never
|
2020-07-21 04:15:58 +02:00
|
|
|
pager = "less"
|
|
|
|
theme = "TwoDark"
|
2020-07-23 13:49:25 +02:00
|
|
|
|
|
|
|
# To add path and env do this
|
|
|
|
# > config set path $nu.path
|
2020-08-01 20:30:45 +02:00
|
|
|
# > config set env $nu.env
|