Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
hatespyware
Apprentice


Joined: 16 Dec 2002
Posts: 103

PostPosted: 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?
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: 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.
Reply with quote
hatespyware
Apprentice


Joined: 16 Dec 2002
Posts: 103

PostPosted: 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.
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: 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
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net