2023-11-07 15:48:00 +01:00
|
|
|
source ~/.config/nushell/init.nu
|
2023-11-07 14:26:22 +01:00
|
|
|
|
|
|
|
alias builtin_ls = ls
|
|
|
|
|
|
|
|
def ls [] {
|
|
|
|
builtin_ls | sort-by type name -i | grid -c
|
|
|
|
}
|
|
|
|
|
|
|
|
def ll [] {
|
|
|
|
builtin_ls | sort-by type name -i
|
|
|
|
}
|
2023-11-07 15:48:00 +01:00
|
|
|
|
|
|
|
def df [] {
|
|
|
|
^df -h
|
|
|
|
| str replace "Sys. de fichiers" "Filesystem"
|
|
|
|
| str replace "Monté sur" "Mountpoint"
|
|
|
|
| detect columns
|
|
|
|
}
|
|
|
|
|