Update 2024-11-11 21:08 OpenBSD/amd64-t14

This commit is contained in:
c0dev0id 2024-11-11 21:08:22 +01:00
parent 93fb45fd3c
commit c3749d841a
3 changed files with 13 additions and 2 deletions

9
.bin/mount_rsync Executable file
View File

@ -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

2
.bin/umount_rsync Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
doas umount /rsync.net

4
.kshrc
View File

@ -168,10 +168,10 @@ alias inssh="ssh -o HostKeyAlgorithms=+ssh-rsa \
myps() { ps -fU $(whoami); } myps() { ps -fU $(whoami); }
mytop() { top -u $(whoami); } mytop() { top -u $(whoami); }
# other
alias portroach="portroach-cli -m codevoid" alias portroach="portroach-cli -m codevoid"
alias ugrep="\ugrep -nI --exclude=tags --exclude=.tags --exclude='cscope.*'" alias ugrep="\ugrep -nI --exclude=tags --exclude=.tags --exclude='cscope.*'"
alias joplin="firefox https://app.joplincloud.com &" alias joplin="firefox https://app.joplincloud.com &"
######################################################################## ########################################################################