> > [EMAIL PROTECTED]:~>doc=/usr/share/doc
> > [EMAIL PROTECTED]:~>less ~doc/debian-policy/policy.txt.gz
> 
> Nice. however how is this different from setting doc to /usr/share/doc
> and then using $doc to refer to it? The only thing I can see is that it
> get's expanded if I use tab completion, but that's not a real problem.

If you use $doc, it won't get hashed as a named directory.  So, in the
former case, if you happen to cd to /usr/share/doc, %~ in your prompt
escape will expand to "~doc" instead of "/usr/share/doc".  That is,
unless you've hashed it already.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to