summaryrefslogtreecommitdiffstats
path: root/kshrc
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2022-06-22 14:42:42 +0100
committerMatthew Lemon <matt@matthewlemon.com>2022-06-22 14:42:42 +0100
commitd98a0c7406014c2d25dad41075e0671cac67cf36 (patch)
tree02477fb7960c57c6e2f74c528c8ae10a0a033e15 /kshrc
parented132cfdbeda2c1b2585c1c424f1a83008139547 (diff)
added funcs to update ports and src
Diffstat (limited to '')
-rw-r--r--kshrc10
1 files changed, 10 insertions, 0 deletions
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