aboutsummaryrefslogtreecommitdiffstats
path: root/fish/functions/myupdatesrc.fish
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2022-10-05 16:33:10 +0100
committerMatthew Lemon <matt@matthewlemon.com>2022-10-05 16:33:10 +0100
commit9fff448654308b1e1b3d1129c0255544f56c25cc (patch)
treeeda78717611d7a6b2204ba8e9f73af90e69ae90b /fish/functions/myupdatesrc.fish
initial
Diffstat (limited to '')
-rw-r--r--fish/functions/myupdatesrc.fish3
1 files changed, 3 insertions, 0 deletions
diff --git a/fish/functions/myupdatesrc.fish b/fish/functions/myupdatesrc.fish
new file mode 100644
index 0000000..5361550
--- /dev/null
+++ b/fish/functions/myupdatesrc.fish
@@ -0,0 +1,3 @@
+function myupdatesrc --wraps='cd /usr && cvs -d anoncvs@anoncvs.spacehopper.org:/cvs -q up -Pd -A src && cd - || return' --description 'alias myupdatesrc=cd /usr && cvs -d anoncvs@anoncvs.spacehopper.org:/cvs -q up -Pd -A src && cd - || return'
+ cd /usr && cvs -d anoncvs@anoncvs.spacehopper.org:/cvs -q up -Pd -A src && cd - || return $argv;
+end