1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 11:37:44 +00:00

Change table look Nu

This commit is contained in:
RGBCube 2023-11-08 22:52:20 +03:00
parent 20e24211cf
commit 9e891fabb8
No known key found for this signature in database

View file

@ -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 "/")) {