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