diff --git a/users/modules/global/shells/zsh.nix b/users/modules/global/shells/zsh.nix index 02e168a..52b3b18 100644 --- a/users/modules/global/shells/zsh.nix +++ b/users/modules/global/shells/zsh.nix @@ -119,6 +119,15 @@ shift 1 magick "$tmpFile" "$@" } + + disgetconvv() { + url="$1" + tmpFileName="''${$(basename "$url")%%\?*}.XXX" + tmpFile=$(mktemp -t $tmpFileName) + curl "$url" --output "$tmpFile" + shift 1 + ffmpeg -i "$tmpFile" "$@" + } ''; dotDir = ".config/zsh";