diff --git a/lib/shared/modules/zsh.nix b/lib/shared/modules/zsh.nix index 22ffc3e8..40236a25 100644 --- a/lib/shared/modules/zsh.nix +++ b/lib/shared/modules/zsh.nix @@ -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