Browse Source

Fix mountremote function

Kevin Heinicke 7 năm trước cách đây
mục cha
commit
b9d3345ada
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      zshrc

+ 1 - 1
zshrc

@@ -43,7 +43,7 @@ mountremote () {
   else
       mountpoint=$1-`echo $2 | sed -E "s/\///g"`
   fi
-  mkdir -p $mountroot
+  mkdir -p $mountroot/$mountpoint
   sshfs $1:$2 "$mountroot/$mountpoint" -o auto_cache,reconnect,volname=$mountpoint,no_readahead,noappledouble,nolocalcaches
   unset mountroot
   unset mountpoint