From acb5cf654c94f483458f8821b1c72d2262c22154 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 10 Jul 2025 08:00:00 +0100 Subject: [PATCH] Add `weather` function --- modules/home-manager/cli/zsh/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/home-manager/cli/zsh/default.nix b/modules/home-manager/cli/zsh/default.nix index ab60177c..adb0be7c 100644 --- a/modules/home-manager/cli/zsh/default.nix +++ b/modules/home-manager/cli/zsh/default.nix @@ -98,6 +98,10 @@ in command ${pkgs.ttyper}/bin/ttyper --language english1000 --words 50 "''${@}" } + weather() { + curl "https://wttr.in/''$1" + } + yt-dlp() { command yt-dlp --paths ~/Videos "$@" }