diff --git a/private_dot_config/nushell/config.nu b/private_dot_config/nushell/config.nu index d16024f..6b91292 100644 --- a/private_dot_config/nushell/config.nu +++ b/private_dot_config/nushell/config.nu @@ -259,7 +259,7 @@ let-env config = { 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 history_file_format: "plaintext" # "sqlite" or "plaintext" shell_integration: true # enables terminal markers and a workaround to arrow keys stop working issue - disable_table_indexes: false # set to true to remove the index column from tables + # disable_table_indexes: false # set to true to remove the index column from tables 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 case_sensitive_completions: false # set to true to enable case-sensitive completions 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 diff --git a/private_dot_config/nushell/starship.nu b/private_dot_config/nushell/starship.nu index 3f0b60c..6fa5904 100644 --- a/private_dot_config/nushell/starship.nu +++ b/private_dot_config/nushell/starship.nu @@ -8,7 +8,7 @@ let-env PROMPT_INDICATOR = "" let-env PROMPT_COMMAND = { # jobs are not supported - let width = (term size -c | get columns | into string) + let width = (term size | get columns | into string) ^/usr/bin/starship prompt $"--cmd-duration=($env.CMD_DURATION_MS)" $"--status=($env.LAST_EXIT_CODE)" $"--terminal-width=($width)" }