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
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
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
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
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
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'
6 matches
Mail list logo