nushell support

This commit is contained in:
2026-01-29 15:34:58 +08:00
parent 87a837fdf5
commit 165681a18e
6 changed files with 63 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
alias l = ls
alias ll = ls -l
alias la = ls -a
alias lla = ls -la
alias lh = ls -lh
alias lt = ls -l | sort-by modified | reverse
alias cdi = cd (ls **/ | get name | str join "\n" | fzf)
if $env.OS == "Windows_NT" {
} else {
alias py = python3
}
alias weather = curl wttr.in
alias moon = curl wttr.in/Moon
alias quote = curl https://api.quotable.io/random | from json | get content
alias dadjoke = curl -H "Accept: application/json" https://icanhazdadjoke.com/ | from json | get joke