-
-
Save dpo/261ea94ba12094ec700babb0bda6f608 to your computer and use it in GitHub Desktop.
This file contains 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/bash | |
# Server name can be 100 chars max in length. | |
server=$(pwd)/$1 | |
(( ${#server} > 100 )) && server=${server:0:100} | |
/usr/local/bin/vim --servername $server $1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment