ZSH: Updated ls aliases

This commit is contained in:
Christian Baer 2021-12-20 17:11:15 +01:00
parent f4b530c17c
commit 2b1f3930be

View File

@ -9,8 +9,8 @@ fi
unfunction _exists unfunction _exists
alias ls="ls -FGhkTv" alias ls="ls --color -FGhk"
alias ll="ls -FGhkTvl" alias ll="ls --color -FGhkl"
alias mkdir="mkdir -p" alias mkdir="mkdir -p"
alias ...="cd ../.." alias ...="cd ../.."
@ -18,6 +18,7 @@ alias google="ping -c 10240000 google.com"
alias history="history -i" alias history="history -i"
alias sulast="sudo $(history -p !-1)" alias sulast="sudo $(history -p !-1)"
alias ydl="youtube-dl -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best'" alias ydl="youtube-dl -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best'"
alias htop="sudo htop"
case `uname` in case `uname` in
Darwin) Darwin)
@ -25,7 +26,6 @@ case `uname` in
alias flushdns="sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder" alias flushdns="sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder"
alias r="open -a" alias r="open -a"
alias fetch="curl -O" alias fetch="curl -O"
alias htop="sudo htop"
;; ;;
Linux) Linux)
# commands for Linux go here # commands for Linux go here