From d98a0c7406014c2d25dad41075e0671cac67cf36 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Wed, 22 Jun 2022 14:42:42 +0100 Subject: added funcs to update ports and src --- kshrc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/kshrc b/kshrc index 344a199..48fb509 100644 --- a/kshrc +++ b/kshrc @@ -85,6 +85,16 @@ ytmp3 () { cd ~/Downloads && yt-dlp -f 'ba' -x --audio-format mp3 "$1" -o '%(title)s.%(ext)s' && cd - || return } +# update /usr/ports +myupdateports() { + cd /usr && cvs -d anoncvs@anoncvs.spacehopper.org:/cvs -q up -Pd -A ports && cd - || return +} + +# update /usr/sr +myupdatesrc() { + cd /usr && cvs -d anoncvs@anoncvs.spacehopper.org:/cvs -q up -Pd -A src && cd - || return +} + # completions - experimental set -A complete_task_1 -- add sync -- cgit v1.2.3