Gentoo Archives: gentoo-user

From: Stroller <stroller@××××××××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Time to move on?
Date: Wed, 25 Mar 2009 01:40:56
Message-Id: DF61AD30-E533-4691-9EA7-14715801D380@stellar.eclipse.co.uk
In Reply to: Re: [gentoo-user] Time to move on? by Albert Hopkins
1 On 24 Mar 2009, at 02:34, Albert Hopkins wrote:
2
3 > On Mon, 2009-03-23 at 18:58 -0500, Dale wrote:
4 >> Albert Hopkins wrote:
5 >>> On Sun, 2009-03-22 at 22:18 -0500, Dale wrote:
6 >>>
7 >>>> Neil Bothwick wrote:
8 >>>>
9 >>>>> On Sun, 22 Mar 2009 19:26:40 -0500, Dale wrote:
10 >>>>>
11 >>>>>
12 >>>>>
13 >>>>>>>> emerge -pvDu --reinstall changed-use @world
14 >>>>>>>>
15 >>>>>>>> ??? Certainly a lot more typing. ;-)
16 >>>>>>>>
17 >>>>>>>>
18 >>>>>
19 >>>>>
20 >>>>>>> Use an alias and it's less typing.
21 >>>>>>>
22 >>>>>>>
23 >>>>>
24 >>>>>
25 >>>>>> Or add it to make.conf. I think that would work too.
26 >>>>>>
27 >>>>>>
28 >>>>> It would work, every time you called emerge, whether you wanted
29 >>>>> that
30 >>>>> option or not.I prefer to have aliases for commands with
31 >>>>> options that I
32 >>>>> call often, but not every time.
33 >>>>>
34 >>>>>
35 >>>>>
36 >>>>>
37 >>>> I'm not real familiar with aliases but know what it is. If you
38 >>>> use the
39 >>>> alias method, how would you disable it for a one time run?
40 >>>>
41 >>>
42 >>> Uh.. you don't "disable" it. You simply don't use the alias.
43 >>>
44 >>>
45 >>>
46 >>
47 >> Oh, OK. <Dale waves hand over head.> If it is set up to add that
48 >> option, how do you tell it not to use it?
49 >
50 > Unless I'm misunderstanding something...
51 >
52 > It's not an "option". It's an alias. If you have
53 >
54 > $ alias myalias="emerge --foo --bar --baz"
55 >
56 > Then to use the alias you simply type
57 >
58 > $ myalias
59 >
60 > If you don't want to use the alias, well, don't type it. I.e.
61 >
62 > $ emerge --la --di --dah
63 >
64 > or
65 >
66 > $ someotheralias
67 >
68 > Or perhaps you don't aren't understanding what shell aliases are?
69 >
70 > http://en.wikipedia.org/wiki/Alias_(command)
71 >
72
73 Every time you bottom post with more than a page or screenful of
74 quoting, a top-posting is justified.
75
76 Stroller.

Replies

Subject Author
Re: [gentoo-user] Time to move on? Neil Bothwick <neil@××××××××××.uk>
Re: [gentoo-user] Time to move on? Alan McKinnon <alan.mckinnon@×××××.com>