Update shell
This commit is contained in:
@@ -243,41 +243,57 @@ let light_theme = {
|
|||||||
|
|
||||||
# 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.
|
||||||
let-env config = {
|
let-env config = {
|
||||||
external_completer: null # check 'carapace_completer' above to as example
|
ls: {
|
||||||
filesize_metric: false # true => (KB, MB, GB), false => (KiB, MiB, GiB)
|
use_ls_colors: true # use the LS_COLORS environment variable to colorize output
|
||||||
table_mode: rounded # basic, compact, compact_double, light, thin, with_love, rounded, reinforced, heavy, none, other
|
clickable_links: true # true or false to enable or disable clickable links in the ls listing. your terminal has to support links.
|
||||||
use_ls_colors: true
|
}
|
||||||
rm_always_trash: false
|
rm: {
|
||||||
|
always_trash: false # always act as if -t was given. Can be overridden with -p
|
||||||
|
}
|
||||||
color_config: $dark_theme # if you want a light theme, replace `$dark_theme` to `$light_theme`
|
color_config: $dark_theme # if you want a light theme, replace `$dark_theme` to `$light_theme`
|
||||||
use_grid_icons: true
|
use_grid_icons: true
|
||||||
footer_mode: "25" # always, never, number_of_rows, auto
|
footer_mode: "25" # always, never, number_of_rows, auto
|
||||||
quick_completions: true # set this to false to prevent auto-selecting completions when only one remains
|
|
||||||
partial_completions: true # set this to false to prevent partial filling of the prompt
|
|
||||||
completion_algorithm: "prefix" # prefix, fuzzy
|
|
||||||
float_precision: 2
|
float_precision: 2
|
||||||
# buffer_editor: "emacs" # command that will be used to edit the current line buffer with ctrl+o, if unset fallback to $env.EDITOR and $env.VISUAL
|
# buffer_editor: "emacs" # command that will be used to edit the current line buffer with ctrl+o, if unset fallback to $env.EDITOR and $env.VISUAL
|
||||||
use_ansi_coloring: true
|
use_ansi_coloring: true
|
||||||
filesize_format: "auto" # b, kb, kib, mb, mib, gb, gib, tb, tib, pb, pib, eb, eib, zb, zib, auto
|
completions: {
|
||||||
edit_mode: emacs # emacs, vi
|
case_sensitive: false # set to true to enable case-sensitive completions
|
||||||
max_history_size: 10000 # Session has to be reloaded for this to take effect
|
quick: true # set this to false to prevent auto-selecting completions when only one remains
|
||||||
sync_history_on_enter: true # Enable to share the history between multiple sessions, else you have to close the session to persist history to file
|
partial: true # set this to false to prevent partial filling of the prompt
|
||||||
history_file_format: "plaintext" # "sqlite" or "plaintext"
|
algorithm: "prefix" # prefix, fuzzy
|
||||||
shell_integration: true # enables terminal markers and a workaround to arrow keys stop working issue
|
external: {
|
||||||
table_index_mode: always # "always" show indexes, "never" show indexes, "auto" = show indexes when a table has "index" column
|
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 my be very slow
|
||||||
cd_with_abbreviations: false # set to true to allow you to do things like cd s/o/f and nushell expand it to cd some/other/folder
|
max_results: 100 # setting it lower can improve completion performance at the cost of omitting some options
|
||||||
case_sensitive_completions: false # set to true to enable case-sensitive completions
|
completer: null # check 'carapace_completer' above to as example
|
||||||
enable_external_completion: true # set to false to prevent nushell looking into $env.PATH to find more suggestions, `false` recommended for WSL users as this look up my be very slow
|
}
|
||||||
max_external_completion_results: 100 # setting it lower can improve completion performance at the cost of omitting some options
|
|
||||||
# A strategy of managing table view in case of limited space.
|
|
||||||
table_trim: {
|
|
||||||
methodology: wrapping, # truncating
|
|
||||||
# A strategy which will be used by 'wrapping' methodology
|
|
||||||
wrapping_try_keep_words: true,
|
|
||||||
# A suffix which will be used with 'truncating' methodology
|
|
||||||
# truncating_suffix: "..."
|
|
||||||
}
|
}
|
||||||
|
filesize: {
|
||||||
|
format: "auto" # b, kb, kib, mb, mib, gb, gib, tb, tib, pb, pib, eb, eib, zb, zib, auto
|
||||||
|
metric: false # true => (KB, MB, GB), false => (KiB, MiB, GiB)
|
||||||
|
}
|
||||||
|
edit_mode: emacs # emacs, vi
|
||||||
|
history: {
|
||||||
|
max_size: 10000 # Session has to be reloaded for this to take effect
|
||||||
|
sync_on_enter: true # Enable to share the history between multiple sessions, else you have to close the session to persist history to file
|
||||||
|
file_format: "plaintext" # "sqlite" or "plaintext"
|
||||||
|
}
|
||||||
|
shell_integration: true # enables terminal markers and a workaround to arrow keys stop working issue
|
||||||
|
cd: {
|
||||||
|
abbreviations: false # set to true to allow you to do things like cd s/o/f and nushell expand it to cd some/other/folder
|
||||||
|
}
|
||||||
|
table: {
|
||||||
|
mode: rounded # basic, compact, compact_double, light, thin, with_love, rounded, reinforced, heavy, none, other
|
||||||
|
index_mode: always # "always" show indexes, "never" show indexes, "auto" = show indexes when a table has "index" column
|
||||||
|
trim: {
|
||||||
|
methodology: wrapping, # truncating
|
||||||
|
# A strategy which will be used by 'wrapping' methodology
|
||||||
|
wrapping_try_keep_words: true,
|
||||||
|
# A suffix which will be used with 'truncating' methodology
|
||||||
|
# truncating_suffix: "..."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
# A strategy of managing table view in case of limited space.
|
||||||
show_banner: false # true or false to enable or disable the banner
|
show_banner: false # true or false to enable or disable the banner
|
||||||
show_clickable_links_in_ls: true # true or false to enable or disable clickable links in the ls listing. your terminal has to support links.
|
|
||||||
render_right_prompt_on_last_line: false # true or false to enable or disable right prompt to be rendered on last line of the prompt.
|
render_right_prompt_on_last_line: false # true or false to enable or disable right prompt to be rendered on last line of the prompt.
|
||||||
|
|
||||||
hooks: {
|
hooks: {
|
||||||
|
|||||||
@@ -43,7 +43,6 @@
|
|||||||
)
|
)
|
||||||
restic
|
restic
|
||||||
rust-analyzer
|
rust-analyzer
|
||||||
starship
|
|
||||||
];
|
];
|
||||||
|
|
||||||
guiPackages = with pkgs; [
|
guiPackages = with pkgs; [
|
||||||
@@ -144,8 +143,6 @@ in {
|
|||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
starship.enable = true;
|
|
||||||
|
|
||||||
vscode.enable = true;
|
vscode.enable = true;
|
||||||
|
|
||||||
zsh = {
|
zsh = {
|
||||||
|
|||||||
Reference in New Issue
Block a user