Add a default directory when using yt-dlp
Always place downloaded videos in `~/Videos`.
This commit is contained in:
parent
7c6d68a589
commit
c62f741a90
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue