summaryrefslogtreecommitdiffstats
path: root/fish/functions/myupdatesrc.fish
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2022-09-05 14:08:27 +0100
committerMatthew Lemon <matt@matthewlemon.com>2022-09-05 14:08:27 +0100
commitb1e86fd7e719ff243535751cf8bc3c75f8531f29 (patch)
tree94e9ff5e8220e628e17d84dcf135f3e806fb66d8 /fish/functions/myupdatesrc.fish
parent1ad5e09cf4c9d82dbb13a30d5fdabfb11d5be12a (diff)
porting some ksh aliases and functions to fish
Diffstat (limited to 'fish/functions/myupdatesrc.fish')
-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