Last active
August 29, 2015 13:57
-
-
Save yuitest/9683729 to your computer and use it in GitHub Desktop.
こんなシェルスクリプトを用意しておいて、クリックしたら開くようにしておくとストレスレス。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
ADDR='remote:/path/to' | |
HERE="$(cd "$(dirname $0)" && pwd)" | |
NAME="$(basename "${HERE}")" | |
sshfs\ | |
-o "volname=${NAME}"\ | |
-o auto_cache\ | |
-o nolocalcaches\ | |
-o cache=no\ | |
-o reconnect\ | |
-o defer_permissions\ | |
-o noappledouble\ | |
"${ADDR}" "${HERE}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
クリックしたらそれの居るディレクトリがディスクに化ける感じ。