zshrc: drop support of youtube-dl, enforce opus containers in Ysound
This commit is contained in:
parent
186973d2df
commit
3bb452b54e
1 changed files with 2 additions and 8 deletions
|
@ -41,14 +41,8 @@ alias gitc="git commit"
|
|||
alias gitp="git push"
|
||||
alias gitl="git log --shortstat --graph"
|
||||
alias gitd="git diff --word-diff"
|
||||
which yt-dlp > /dev/null
|
||||
if [[ $? -eq 0 ]]; then
|
||||
alias Y="noglob yt-dlp --no-check-certificate -f 'bestvideo[height<=1080]+bestaudio/best[height<=1080]'"
|
||||
alias Ysound="noglob yt-dlp --no-check-certificate -f bestaudio"
|
||||
else
|
||||
alias Y="noglob youtube-dl --no-check-certificate -f 'bestvideo[height<=1080]+bestaudio/best[height<=1080]'"
|
||||
alias Ysound="noglob youtube-dl --no-check-certificate -f bestaudio"
|
||||
fi
|
||||
alias Y="noglob yt-dlp --no-check-certificate -f 'bestvideo[height<=1080]+bestaudio/best[height<=1080]'"
|
||||
alias Ysound="noglob yt-dlp --no-check-certificate -f bestaudio --remix-opus"
|
||||
alias battery="upower -i /org/freedesktop/UPower/devices/battery_BAT0"
|
||||
alias pp=python2
|
||||
alias ppp=python3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue