summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kshrc5
1 files changed, 5 insertions, 0 deletions
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