1 .TH 0ALIAS 1 "2011" "Thomas Leonard" ""
3 0alias \(em create quick scripts to run 0launch
8 \fBALIAS\fP [\fBINTERFACE\fP [\fBMAIN\fP]]
12 Having to keep typing the full URI for a program each time you want to run it
13 with 0launch is annoying. 0alias will create a little script in your PATH to
19 A program can be invoked using 0launch:
21 .B 0launch http://rox.sourceforge.net/2005/interfaces/Edit
24 To avoid having to keep entering the URI, create an alias:
26 .B 0alias rox\-edit http://rox.sourceforge.net/2005/interfaces/Edit
34 To select a different version, or check for updates:
39 If an interface provides more than one program, you can specify which
40 one to use instead of the default. e.g.
42 .B 0alias svn http://example.com/subversion
44 .B 0alias svnadmin http://example.com/subversion svnadmin
47 (this is for older programs that use MAIN; for newer programs you may need to
48 use \-\-command instead)
51 .SH COMMAND-LINE OPTIONS
54 \fB\-c=COMMAND\fP, \fB\-\-command=COMMAND\fP
55 The generated script will execute COMMAND rather than the default ("run").
58 \fB\-d=DIR\fP, \fB\-\-dir=DIR\fP
59 Install the script into directory DIR, rather than searching for a suitable
63 \fB\-h\fP, \fB\-\-help\fP
64 Show the built-in help text.
67 \fB\-m\fP, \fB\-\-manpage\fP
68 Display the manpage for the alias script given as the single argument. The
69 alias can be an absolute pathname, or the name of a script in $PATH. If the
70 argument isn't an alias script, or if multiple arguments are given, then all
71 arguments are passed to the system 'man' command. This allows you to alias your
72 man command like this:
74 alias man='0alias \-\-manpage'
77 \fB\-r\fP, \fB\-\-resolve\fP
78 Print the interface URI for the given alias script to stdout.
81 \fB\-V\fP, \fB\-\-version\fP
82 Display version information.
86 Copyright (C) 2011 Thomas Leonard.
89 You may redistribute copies of this program under the terms of the GNU Lesser General Public License.
92 Please report bugs to the developer mailing list:
94 http://0install.net/support.html
98 The Zero Install Injector was created by Thomas Leonard.
101 0launch(1), 0desktop(1)
103 The Zero Install web-site:
105 .B http://0install.net