Don't redefine standard unix tools

This commit is contained in:
Isaac Shoebottom 2025-04-07 21:21:20 -03:00
parent 630a31ff35
commit b472f6b758
2 changed files with 12 additions and 1 deletions

View File

@ -17,5 +17,16 @@
# You can remove these comments if you want or leave
# them for future reference.
alias corels = ls
def --wrapped ls [...rest] {
if '-a' in $rest or '--all' in $rest or not (".hidden" | path exists) {
(corels ...$rest)
} else {
(corels ...$rest) | where name not-in (cat .hidden)
}
}
mkdir ($nu.data-dir | path join "vendor/autoload")
starship init nu | save -f ($nu.data-dir | path join "vendor/autoload/starship.nu")

View File

@ -20,7 +20,7 @@ alias cd="z"
alias cat="bat -p"
alias find="fd"
alias bc="numbat"
alias sed="sd"
#alias sed="sd"
alias du="dust"
alias tldr="tldr"
alias xxd="hexyl"