Nushell config
This commit is contained in:
parent
eeb493442b
commit
3d0a490cc4
|
@ -107,6 +107,7 @@ def ls [dir?: string] {
|
||||||
def la [dir?: string] {
|
def la [dir?: string] {
|
||||||
_ls -al (if $dir == null { "" } else { $dir })
|
_ls -al (if $dir == null { "" } else { $dir })
|
||||||
| sort-by type name -i
|
| sort-by type name -i
|
||||||
|
| each {|x| return (echo $x | update mode (_ls_format_mode $x.mode))}
|
||||||
| select mode name target user size modified
|
| select mode name target user size modified
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -212,6 +212,7 @@ $env.LS_COLORS = ([
|
||||||
"*.ts=1;33" # TypeScript
|
"*.ts=1;33" # TypeScript
|
||||||
"*.rs=1;33" # Rust
|
"*.rs=1;33" # Rust
|
||||||
"*.elm=1;33" # Elm
|
"*.elm=1;33" # Elm
|
||||||
|
"*.nu=1;33" # Nushell
|
||||||
|
|
||||||
# Build / doc files
|
# Build / doc files
|
||||||
"*Makefile=1;4;33" # Makefile
|
"*Makefile=1;4;33" # Makefile
|
||||||
|
|
Loading…
Reference in New Issue