Add a default directory when using yt-dlp
Always place downloaded videos in `~/Videos`.
This commit is contained in:
parent
7c6d68a589
commit
c62f741a90
1 changed files with 4 additions and 0 deletions
|
@ -48,6 +48,10 @@
|
||||||
command ${pkgs.ttyper}/bin/ttyper --language english1000 --words 50 "''${@}"
|
command ${pkgs.ttyper}/bin/ttyper --language english1000 --words 50 "''${@}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
yt-dlp() {
|
||||||
|
command yt-dlp --paths ~/Videos "$@"
|
||||||
|
}
|
||||||
|
|
||||||
# Case insensitive autocompletion.
|
# Case insensitive autocompletion.
|
||||||
zstyle ":completion:*" matcher-list "" "m:{a-zA-Z}={A-Za-z}" "r:|=*" "l:|=* r:|=*"
|
zstyle ":completion:*" matcher-list "" "m:{a-zA-Z}={A-Za-z}" "r:|=*" "l:|=* r:|=*"
|
||||||
autoload -Uz compinit && compinit
|
autoload -Uz compinit && compinit
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue