|
hatespyware Apprentice
Joined: 16 Dec 2002 Posts: 103
|
Posted: Thu Jun 05, 2003 3:10 pm
path expansion |
When I type .somepath and press tab, the path is expanded on the command-line. This is useful. When I type ..somepath and try to expand the reverse path, this doesn't work. Am I doing something wrong?
|
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Thu Jun 05, 2003 10:33 pm |
I think this was never implemented, and you are the first to mention it. Zugg is currently working on other products, but I will put it on my list of things to bring up when the next zMud beta cycle starts.
|
|
|
|
hatespyware Apprentice
Joined: 16 Dec 2002 Posts: 103
|
Posted: Fri Jun 06, 2003 10:06 am |
OK. Thanks. I suppose there is probably some slick way to mimic the behaviour w/ an alias - maybe I'll look into that.
|
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Fri Jun 06, 2003 10:49 pm |
If you want the reverse of a path, you could use %pathreverse(). A little more typing than the ./.. shortcuts, but no need to write up an alias of your own.
EDIT: oh, wait, you said you wanted to expand it on the command-line when you press tab...take a look at this then:
#alias rpath {#insert %concat(".",%pathreverse(%-1))}
This will insert the reverse path into the command line in the .path format, and you need only to press tab afterwards.
li'l shmoe of Dragon's Gate MUD |
|
|
|
|
|