balena-cli/man/resin-completion.1

49 lines
1.1 KiB
Groff
Raw Normal View History

2015-03-02 14:40:43 +00:00
.TH "RESIN" "1" "March 2015" "" ""
.SH "NAME"
\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\|\.
.P
If you're using \fBbash\fR, add the following line to your \fB~/\.bashrc\fR:
.P
.RS 2
.nf
\|\. /path/to/resin/completion/resin\.sh\.
.fi
.RE
.P
or create a symlink like this if you have automatic bash completion set up:
.P
.RS 2
.nf
ln \- /path/to/resin/completion/resin\.sh /etc/bash\-completion\.d/resin
.fi
.RE
.P
or, perhaps:
.P
.RS 2
.nf
ln \- /path/to/resin/completion/resin\.sh /usr/local/etc/bash\-completion\.d/resin
.fi
.RE
.P
If you're using \fBzsh\fR, add the following to your \fB~/\.zshrc\fR:
.P
.RS 2
.nf
autoload bashcompinit
bashcompinit
source /path/to/resin/completion/resin\.sh
.fi
.RE
.SH RESIN PATH
.P
\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\.
.SH COPYRIGHT
.P
resin is Copyright (C) 2014 Resin\.io https://resin\.io