From c3749d841ae00824d2d3f0d447f1e83e1510437e Mon Sep 17 00:00:00 2001 From: c0dev0id Date: Mon, 11 Nov 2024 21:08:22 +0100 Subject: [PATCH] Update 2024-11-11 21:08 OpenBSD/amd64-t14 --- .bin/mount_rsync | 9 +++++++++ .bin/umount_rsync | 2 ++ .kshrc | 4 ++-- 3 files changed, 13 insertions(+), 2 deletions(-) create mode 100755 .bin/mount_rsync create mode 100755 .bin/umount_rsync diff --git a/.bin/mount_rsync b/.bin/mount_rsync new file mode 100755 index 0000000..ca5b7df --- /dev/null +++ b/.bin/mount_rsync @@ -0,0 +1,9 @@ +#!/bin/sh + +if mount | fgrep '/rsync.net' -q +then + echo "already mounted" + exit 1 +fi + +doas sshfs -o idmap=user,allow_other,uid=1000,gid=1000 zh4870@zh4870.rsync.net: /rsync.net diff --git a/.bin/umount_rsync b/.bin/umount_rsync new file mode 100755 index 0000000..d83b7bd --- /dev/null +++ b/.bin/umount_rsync @@ -0,0 +1,2 @@ +#!/bin/sh +doas umount /rsync.net diff --git a/.kshrc b/.kshrc index 93d97f3..ac38e86 100644 --- a/.kshrc +++ b/.kshrc @@ -168,10 +168,10 @@ alias inssh="ssh -o HostKeyAlgorithms=+ssh-rsa \ myps() { ps -fU $(whoami); } mytop() { top -u $(whoami); } + +# other alias portroach="portroach-cli -m codevoid" - alias ugrep="\ugrep -nI --exclude=tags --exclude=.tags --exclude='cscope.*'" - alias joplin="firefox https://app.joplincloud.com &" ########################################################################