2015-02-02 16:25:22 +00:00
|
|
|
.TH "RESIN" "1" "February 2015" "" ""
|
2014-12-24 13:15:27 +00:00
|
|
|
.SH "NAME"
|
2014-12-24 19:12:31 +00:00
|
|
|
\fBresin\fR \- tab completion for resin
|
|
|
|
.SH DESCRIPTION
|
|
|
|
.P
|
2015-01-16 12:45:11 +00:00
|
|
|
It provides basic completion capabilities for \fBzsh\fR and \fBbash\fR\|\.
|
2014-12-24 13:15:27 +00:00
|
|
|
.P
|
2014-12-24 19:12:31 +00:00
|
|
|
If you're using \fBbash\fR, add the following line to your \fB~/\.bashrc\fR:
|
|
|
|
.P
|
|
|
|
.RS 2
|
2014-12-24 13:15:27 +00:00
|
|
|
.nf
|
|
|
|
\|\. /path/to/resin/completion/resin\.sh\.
|
|
|
|
.fi
|
2014-12-24 19:12:31 +00:00
|
|
|
.RE
|
2014-12-24 13:15:27 +00:00
|
|
|
.P
|
|
|
|
or create a symlink like this if you have automatic bash completion set up:
|
2014-12-24 19:12:31 +00:00
|
|
|
.P
|
|
|
|
.RS 2
|
2014-12-24 13:15:27 +00:00
|
|
|
.nf
|
|
|
|
ln \- /path/to/resin/completion/resin\.sh /etc/bash\-completion\.d/resin
|
|
|
|
.fi
|
2014-12-24 19:12:31 +00:00
|
|
|
.RE
|
2014-12-24 13:15:27 +00:00
|
|
|
.P
|
|
|
|
or, perhaps:
|
2014-12-24 19:12:31 +00:00
|
|
|
.P
|
|
|
|
.RS 2
|
2014-12-24 13:15:27 +00:00
|
|
|
.nf
|
|
|
|
ln \- /path/to/resin/completion/resin\.sh /usr/local/etc/bash\-completion\.d/resin
|
|
|
|
.fi
|
2014-12-24 19:12:31 +00:00
|
|
|
.RE
|
2014-12-24 13:15:27 +00:00
|
|
|
.P
|
2014-12-24 19:12:31 +00:00
|
|
|
If you're using \fBzsh\fR, add the following to your \fB~/\.zshrc\fR:
|
|
|
|
.P
|
|
|
|
.RS 2
|
2014-12-24 13:15:27 +00:00
|
|
|
.nf
|
|
|
|
autoload bashcompinit
|
|
|
|
bashcompinit
|
|
|
|
source /path/to/resin/completion/resin\.sh
|
|
|
|
.fi
|
2014-12-24 19:12:31 +00:00
|
|
|
.RE
|
|
|
|
.SH RESIN PATH
|
|
|
|
.P
|
2014-12-24 13:15:27 +00:00
|
|
|
\fB/path/to/resin\fR refers to the place where resin was globally installed in your system\.
|
|
|
|
.P
|
|
|
|
This is usually something like \fB/usr/lib/node_modules/resin\fR, or \fBC:\\Users\\AppData\\Roaming\\npm\\node_modules\\resin\fR on Windows\.
|
2014-12-24 19:12:31 +00:00
|
|
|
.SH COPYRIGHT
|
|
|
|
.P
|
|
|
|
resin is Copyright (C) 2014 Resin\.io https://resin\.io
|