From 3d0a490cc47052da7e9ef7d7f148c6002ad7dbc8 Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Wed, 8 Nov 2023 12:58:43 +0100 Subject: [PATCH] Nushell config --- nushell/config.nu | 1 + nushell/env.nu | 1 + 2 files changed, 2 insertions(+) diff --git a/nushell/config.nu b/nushell/config.nu index 101dc5b..382f0dd 100644 --- a/nushell/config.nu +++ b/nushell/config.nu @@ -107,6 +107,7 @@ def ls [dir?: string] { def la [dir?: string] { _ls -al (if $dir == null { "" } else { $dir }) | sort-by type name -i + | each {|x| return (echo $x | update mode (_ls_format_mode $x.mode))} | select mode name target user size modified } diff --git a/nushell/env.nu b/nushell/env.nu index 348eed1..d80400d 100644 --- a/nushell/env.nu +++ b/nushell/env.nu @@ -212,6 +212,7 @@ $env.LS_COLORS = ([ "*.ts=1;33" # TypeScript "*.rs=1;33" # Rust "*.elm=1;33" # Elm + "*.nu=1;33" # Nushell # Build / doc files "*Makefile=1;4;33" # Makefile