diff options
author | Matthew Lemon <matt@matthewlemon.com> | 2022-06-22 14:42:42 +0100 |
---|---|---|
committer | Matthew Lemon <matt@matthewlemon.com> | 2022-06-22 14:42:42 +0100 |
commit | d98a0c7406014c2d25dad41075e0671cac67cf36 (patch) | |
tree | 02477fb7960c57c6e2f74c528c8ae10a0a033e15 /kshrc | |
parent | ed132cfdbeda2c1b2585c1c424f1a83008139547 (diff) |
added funcs to update ports and src
Diffstat (limited to '')
-rw-r--r-- | kshrc | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 |