4
4
5
5
TextMate 2 adds a nice feature, where it is possible to edit files on a remote server
6
6
using a helper script. The original helper script provided with TM2 is implemented in
7
- ruby. Here is my attempt to replace this ruby script with a shell script, because in
7
+ ruby. Here is my attempt to replace this ruby script with a shell script, because in
8
8
some cases a ruby installation might just be too much overhead for just editing remote
9
9
files.
10
10
@@ -23,7 +23,7 @@ addition:
23
23
If you are logged in on the remote system, you can now just execute
24
24
25
25
rmate test.txt
26
-
26
+
27
27
28
28
### Remote clients
29
29
@@ -39,7 +39,7 @@ Example session: Editing html file located on an SGI o2: <https://github.com/aur
39
39
40
40
## Requirements
41
41
42
- A bash with compiled support for "/dev/tcp" is required. This is not the case on some
42
+ A bash with compiled support for "/dev/tcp" is required. This is not the case on some
43
43
older linux distributions, like Ubuntu 9.x.
44
44
45
45
## Usage
@@ -68,9 +68,9 @@ Read text from stdin
68
68
69
69
### Default parameter configuration
70
70
71
- Some default parameters (_ host_ and _ port_ ) can be configured by defining them
72
- as the environment variables ` RMATE_HOST ` and ` RMATE_PORT ` or by putting them
73
- in a configuration file. The configuration files loaded are ` /etc/rmate.rc `
71
+ Some default parameters (_ host_ and _ port_ ) can be configured by defining them
72
+ as the environment variables ` RMATE_HOST ` and ` RMATE_PORT ` or by putting them
73
+ in a configuration file. The configuration files loaded are ` /etc/rmate.rc `
74
74
and ` ~/.rmate.rc ` , e.g.:
75
75
76
76
host: auto # prefer host from SSH_CONNECTION over localhost
@@ -85,8 +85,9 @@ The precedence for setting the configuration is (higher precedence counts):
85
85
86
86
1 . default (localhost, 52698)
87
87
2 . /etc/rmate.rc
88
- 3 . ~ /.rmate.rc
89
- 4 . environment variables (RMATE\_ HOST, RMATE\_ PORT)
88
+ 3 . ~ /.rmate/rmate.rc
89
+ 4 . ~ /.rmate.rc
90
+ 5 . environment variables (RMATE\_ HOST, RMATE\_ PORT)
90
91
91
92
## Disclaimer
92
93
@@ -97,7 +98,7 @@ any damage the software may cause to your system or files.
97
98
98
99
rmate
99
100
100
- Copyright (C) 2011-
2014 by Harald Lapp
< [email protected] >
101
+ Copyright (C) 2011-
2015 by Harald Lapp
< [email protected] >
101
102
102
103
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
103
104
0 commit comments