Remove youtube-dl
This commit is contained in:
parent
bd6417336d
commit
25af4813b8
1 changed files with 1 additions and 7 deletions
|
@ -35,6 +35,7 @@ hash nvim 2>/dev/null && alias vim='nvim'
|
||||||
hash sqlmap 2>/dev/null && alias sqlmap='sqlmap --user-agent="Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"'
|
hash sqlmap 2>/dev/null && alias sqlmap='sqlmap --user-agent="Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"'
|
||||||
hash sqlmap 2>/dev/null && alias sqlmap-tor='sqlmap --tor --tor-type=SOCKS5'
|
hash sqlmap 2>/dev/null && alias sqlmap-tor='sqlmap --tor --tor-type=SOCKS5'
|
||||||
hash tree 2>/dev/null && alias t='tree'
|
hash tree 2>/dev/null && alias t='tree'
|
||||||
|
hash yt-dlp 2>/dev/null && alias audio-dl='yt-dlp --extract-audio --audio-quality 0 --audio-format "vorbis"'
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -54,10 +55,3 @@ if hash yay 2>/dev/null; then
|
||||||
yay -S $(pacman -Qm | /bin/grep "$PATTERN" | cut -d ' ' -f1)
|
yay -S $(pacman -Qm | /bin/grep "$PATTERN" | cut -d ' ' -f1)
|
||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if hash yt-dlp 2>/dev/null; then
|
|
||||||
alias audio-dl='yt-dlp --extract-audio --audio-quality 0 --audio-format "vorbis"'
|
|
||||||
alias youtube-dl='yt-dlp'
|
|
||||||
elif hash youtube-dl 2>/dev/null; then
|
|
||||||
alias audio-dl='youtube-dl -x --audio-quality 0 --audio-format "vorbis"'
|
|
||||||
fi
|
|
||||||
|
|
Loading…
Reference in a new issue