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 &" ########################################################################