10ALIAS(1) 0ALIAS(1)
2
3
4
6 0alias - create quick scripts to run 0launch
7
8
10 0alias ALIAS [INTERFACE [COMMAND]]
11
12
14 Having to keep typing the full URI for a program each time you want to
15 run it with 0launch is annoying. 0alias will create a little script in
16 your PATH to do it for you.
17
18
20 A program can be invoked using 0launch:
21
22 0launch http://rox.sourceforge.net/2005/interfaces/Edit
23
24
25 To avoid having to keep entering the URI, create an alias:
26
27 0alias rox-edit http://rox.sourceforge.net/2005/interfaces/Edit
28
29
30 To run Edit now:
31
32 rox-edit
33
34
35 To select a different version, or check for updates:
36
37 0alias rox-edit
38
39
40 If an interface provides more than one program, you can specifiy which
41 one to use instead of the default. Eg:
42
43 0alias svn http://example.com/subversion
44
45 0alias svnadmin http://example.com/subversion svnadmin
46
47
48
50 -d=DIR, --dir=DIR
51 Install the script into directory DIR, rather than searching for
52 a suitable directory in $PATH.
53
54
55 -h, --help
56 Show the built-in help text.
57
58
59 -m, --manpage
60 Display the manpage for the alias script given as the single
61 argument. The alias can be an absolute pathname, or the name of
62 a script in $PATH. If the argument isn't an alias script, or if
63 multiple arguments are given, then all arguments are passed to
64 the system 'man' command. This allows you to alias your man com‐
65 mand like this:
66
67 alias man='0alias --manpage'
68
69
70 -r, --resolve
71 Print the interface URI for the given alias script to stdout.
72
73
74 -V, --version
75 Display version information.
76
77
79 Copyright (C) 2007 Thomas Leonard.
80
81
82 You may redistribute copies of this program under the terms of the GNU
83 Lesser General Public License.
84
86 Please report bugs to the developer mailing list:
87
88 http://0install.net/support.html
89
90
92 The Zero Install Injector was created by Thomas Leonard.
93
94
96 0launch(1)
97
98 The Zero Install web-site:
99
100 http://0install.net
101
102
103
104Thomas Leonard 2007 0ALIAS(1)