From 25af4813b81a23ac8e6e422b8ea94e2428de1e7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolphe=20Br=C3=A9ard?= Date: Sun, 15 Dec 2024 20:47:20 +0100 Subject: [PATCH] Remove youtube-dl --- .config/rodolphe/.aliases | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.config/rodolphe/.aliases b/.config/rodolphe/.aliases index a0cfcb2..24d5666 100644 --- a/.config/rodolphe/.aliases +++ b/.config/rodolphe/.aliases @@ -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-tor='sqlmap --tor --tor-type=SOCKS5' 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) } 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