BTS

Message1118

Author ft1
Recipients ft, mika, z3ttacht
Date 2008-01-28.19:04:34
Content
Alexander Steinböck <bts@bts.grml.org>:
> 
> Alexander Steinböck <z3ttacht@grml.org> added the comment:
> 
> * Frank Terbeck <ft@bts.grml.org> [2008-01-28 18:49]:
> > > +typeset -a conf_dir conf_ignore
> > Please use 'local' variables.
> *argh* Sure! But isn't typeset automatically local in functions and
> such?
> ,----[ man 1 zshparam | less -p 'Local Parameters' ]-
> | The typeset builtin, and its alternative forms declare, integer, local
> | and readonly (but not export),  can be used to declare a parameter as
> | being local to the innermost scope.
> `----
> Or did I miss something here?

Yeah, but see the docs for the local builtin.
It forbids -f and -g.
...and (more importantly) it is by far more clear, what is meant, if
you just use local.

> > > +conf_dir=( $HOME/.newsbeuter /etc/skel/.newsbeuter )
> > '/etc/skel'?
> I know, that directory doesn't exist yet. But more for newsbeuter is
> coming. And then there will be one. (o;
> 
> Or did you mean something else? Does it not make sense to look for
> config files for completion in there within grml?

IMO, *nothing* should *ever* look in 'skel' for anything.

It is a directory skeleton for new users. And that's it.

Regards, Frank

-- 
In protocol design, perfection has been reached not when there is
nothing left to add, but when there is nothing left to take away.
                                                  -- RFC 1925
History
Date User Action Args
2008-01-28 19:04:35ft1setrecipients: + ft, z3ttacht
2008-01-28 19:04:35ft1linkissue388 messages
2008-01-28 19:04:34ft1create