Skip to content

Commit c6ae0a4

Browse files
authored
Update .zshrc
1 parent f4fc2a8 commit c6ae0a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.zshrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ trash()( # compatible with rm
380380
### network
381381
freeport()( sudo kill -9 $(sudo lsof -i:$1 | awk 'NR>1 {print $2}' | uniq) )
382382
alias proxy_off="unset http_proxy; unset https_proxy; unset all_proxy; unset HTTP_PROXY; unset HTTPS_PROXY; unset ALL_PROXY"
383-
alias sfs="sshfs -f -o follow_symlinks,ServerAliveInterval=30,ServerAliveCountMax=3,StrictHostKeyChecking=no,UserKnownHostsFile=/dev/null"
383+
alias sfs="sshfs -f -o allow_other,default_permissions,umask=0022,follow_symlinks,ServerAliveInterval=30,ServerAliveCountMax=3,StrictHostKeyChecking=no,UserKnownHostsFile=/dev/null"
384384

385385
### infos
386386
alias sys="echo \[CPU\]; lscpu | grep '^Model name.*\|^CPU(s):.*' | cat; echo; echo \[Mem\]; free -gh | grep 'Mem:' | awk '{print \$2}'; echo; echo \[DISK\]; duf"

0 commit comments

Comments
 (0)