From 9e891fabb80b58a813ba29a91a3805d4fd028d57 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Wed, 8 Nov 2023 22:52:20 +0300 Subject: [PATCH] Change table look Nu --- machines/enka/nushell/configuration.nu | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/machines/enka/nushell/configuration.nu b/machines/enka/nushell/configuration.nu index 6cc3ccc..3944530 100644 --- a/machines/enka/nushell/configuration.nu +++ b/machines/enka/nushell/configuration.nu @@ -70,7 +70,7 @@ $env.config = { } table: { - mode: basic + mode: heavy index_mode: always show_empty: true padding: { left: 1, right: 1 } @@ -135,9 +135,13 @@ $env.config = { let path = $tokens | last ls $"($path)*" | each {|it| let choice = if ($path | str ends-with "/") { - $path | path join ($it.name | path basename) + $path | path join ($it.name | path dbasen + + heavyame) } else { - $path | path dirname | path join ($it.name | path basename) + $path | path dirname | path join ($it.name | path dbasen + + heavyame) } let choice = if ($it.type == "dir") and (not ($choice | str ends-with "/")) {