Add a default directory when using yt-dlp

Always place downloaded videos in `~/Videos`.
This commit is contained in:
Oliver Davies 2024-08-28 13:00:36 +01:00
parent 7c6d68a589
commit c62f741a90

View file

@ -48,6 +48,10 @@
command ${pkgs.ttyper}/bin/ttyper --language english1000 --words 50 "''${@}"
}
yt-dlp() {
command yt-dlp --paths ~/Videos "$@"
}
# Case insensitive autocompletion.
zstyle ":completion:*" matcher-list "" "m:{a-zA-Z}={A-Za-z}" "r:|=*" "l:|=* r:|=*"
autoload -Uz compinit && compinit