aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/fish/config.fish1
-rw-r--r--.config/shell/.zshrc3
2 files changed, 3 insertions, 1 deletions
diff --git a/.config/fish/config.fish b/.config/fish/config.fish
index 230dd31..0187227 100644
--- a/.config/fish/config.fish
+++ b/.config/fish/config.fish
@@ -22,6 +22,7 @@ if status is-interactive
abbr -a t "timedatectl"
abbr -a w "curl wttr.in"
abbr -a x "startx"
+ abbr -a yt-best "youtube-dl -cif 'bestvideo+bestaudio/best'"
abbr -a yt-m4a "youtube-dl -cif 'bestaudio[ext=m4a]'"
abbr -a yt-mp4 "youtube-dl -cif 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best'"
abbr -a yt-mpv "mpv --ytdl-format="
diff --git a/.config/shell/.zshrc b/.config/shell/.zshrc
index d62af2e..25298ba 100644
--- a/.config/shell/.zshrc
+++ b/.config/shell/.zshrc
@@ -52,9 +52,10 @@ SAVEHIST=9999999
command which bat >/dev/null 2>&1 && alias cat="bat -p"
# youtube-dl aliases
+ alias yt-best="youtube-dl -cif 'bestvideo+bestaudio/best'"
+ alias yt-m4a="youtube-dl -cif 'bestaudio[ext=m4a]'"
alias yt-mp4="youtube-dl -cif 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best'"
alias yt-webm="youtube-dl -cif 'bestvideo[ext=webm]+bestaudio[ext=webm]/best[ext=webm]/best'"
- alias yt-m4a="youtube-dl -cif 'bestaudio[ext=m4a]'"
# pfetch stuff
export PF_INFO="ascii title os kernel uptime pkgs memory"