Update 2024-11-11 21:08 OpenBSD/amd64-t14
This commit is contained in:
parent
93fb45fd3c
commit
c3749d841a
9
.bin/mount_rsync
Executable file
9
.bin/mount_rsync
Executable 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
2
.bin/umount_rsync
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
doas umount /rsync.net
|
4
.kshrc
4
.kshrc
@ -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 &"
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user