Re: Aliases with `-'

2010-05-06 Thread Merciadri Luca
Sven Joachim wrote: > Syntax highlighting in Emacs' shell-script-mode leaves much to be > desired, so this is not really a bad sign. Does it work if you leave > out the apostrophes? > It worked anyway. But emacs confused me. Sorry! -- Merciadri Luca See http://www.student.montefiore.ulg.ac.be

Re: Aliases with `-'

2010-05-06 Thread Merciadri Luca
Alexander Batischev wrote: > Small note about highlighting — if you add quotes, emacs (and vim, and > any other editor with syntax highlighting as well) thinks that it's a > string and highlight it. If alias name isn't highlighted that doesn't > mean that it won't work. So don't think about highlig

Re: Aliases with `-'

2010-05-06 Thread Alexander Batischev
Small note about highlighting — if you add quotes, emacs (and vim, and any other editor with syntax highlighting as well) thinks that it's a string and highlight it. If alias name isn't highlighted that doesn't mean that it won't work. So don't think about highlighting — everything works ;) Since

Re: Aliases with `-'

2010-05-06 Thread d . sastre . medina
On Thu, May 06, 2010 at 07:31:28PM +0200, Merciadri Luca wrote: > I would like to define an alias with some `-' characters into it, in my > .bashrc. For example, if `this-is-my-alias' is my alias, I would use > > == > alias 'this-is-my-alias'='some command to achieve' > == Hello, It does work he

Re: Aliases with `-'

2010-05-06 Thread Alexander Batischev
On 6 May 2010 20:31, Merciadri Luca wrote: > It simply does not work. Why? I tried without `'' but emacs then stops > highlighting the word, which is no good sign. Thanks. Don't mind about highlighting — alias defined in away like that: $ alias hello-world="echo 'hello world'" will work. Tested

Re: Aliases with `-'

2010-05-06 Thread Sven Joachim
On 2010-05-06 19:31 +0200, Merciadri Luca wrote: > I would like to define an alias with some `-' characters into it, in my > .bashrc. For example, if `this-is-my-alias' is my alias, I would use > > == > alias 'this-is-my-alias'='some command to achieve' > == > > It simply does not work. Why? Don'

Aliases with `-'

2010-05-06 Thread Merciadri Luca
Hi, I would like to define an alias with some `-' characters into it, in my .bashrc. For example, if `this-is-my-alias' is my alias, I would use == alias 'this-is-my-alias'='some command to achieve' == It simply does not work. Why? I tried without `'' but emacs then stops highlighting the word,

Re: Exim Aliases With Domains

1998-08-23 Thread Asher Haig
Am I able to do something similar to what you did in domains="partial-lsearch;/etc/exim/aliases.virtual"; in the aliases.virtual file? For instance, can I put a line in the domains.virtual: # Warped-Reality.com aliases lsearch;/home/wr/aliases.mail Also, do I not have to run newaliases after

Re: Exim Aliases With Domains

1998-08-23 Thread Asher Haig
George Bonser, [EMAIL PROTECTED] on 8/23/98 3:52 PM >Just add a line under the driver = aliasfile; that looks like this: > >include_domain = true, > >Note the comma! > >Now you will need to include the domain for EACH alias! > >In other words: > >[EMAIL PROTECTED]: billy >[EMAIL PROTECTED]:

Re: Exim Aliases With Domains

1998-08-23 Thread Asher Haig
George Bonser, [EMAIL PROTECTED] on 8/23/98 3:32 PM >Maybe I am a bit slow today ... what exactly are you trying to do? If the >mail is addressed to [EMAIL PROTECTED] it goes into the account for user but >if it is addressed to [EMAIL PROTECTED] it goes to the mailbox for otheruser? > >That is eas

Exim Aliases With Domains

1998-08-23 Thread Asher Haig
I just installed Exim to replace sendmail. I'm trying to set up the alias file now so that I can have domain-dependant aliases (ie, two "ahaig"s depending on which domain it's sent to). I set include_domain to true in /etc/aliases (When I tried setting it in /etc/exim.conf it complained about i