20 lines
492 B
Nu
20 lines
492 B
Nu
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
|