diff options
author | Matthew Lemon <matt@matthewlemon.com> | 2022-06-27 09:03:00 +0100 |
---|---|---|
committer | Matthew Lemon <matt@matthewlemon.com> | 2022-06-27 09:03:00 +0100 |
commit | 5d61c7a3ad2c8fe3e3604c980f466142aa28eecc (patch) | |
tree | 5df005d80ef3ea01a8c01bce5f49dcbca43b69cf /kshrc | |
parent | 7165cd7ab84f3078a6195af4d3b20e6ddd22eb0c (diff) |
added func to check latest snapshot date
Diffstat (limited to 'kshrc')
-rw-r--r-- | kshrc | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |