From 5d61c7a3ad2c8fe3e3604c980f466142aa28eecc Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Mon, 27 Jun 2022 09:03:00 +0100 Subject: added func to check latest snapshot date --- kshrc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'kshrc') diff --git a/kshrc b/kshrc index 997dbef..1d3cc1e 100644 --- a/kshrc +++ b/kshrc @@ -100,6 +100,11 @@ myupdatesrc() { cd /usr && cvs -d anoncvs@anoncvs.spacehopper.org:/cvs -q up -Pd -A src && cd - || return } +# get date of latest snapshot +snapdate() { + curl -s https://cdn.openbsd.org/pub/OpenBSD/snapshots/amd64/|grep INSTALL|tr -d ' '|cut -d'>' -f3|cut -d':' -f1 +} + # completions - experimental set -A complete_task_1 -- add sync -- cgit v1.2.3