r3342 - trunk/data

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri Feb 8 05:29:40 EST 2008


Author: div0
Date: 2008-02-08 05:29:39 -0500 (Fri, 08 Feb 2008)
New Revision: 3342

Modified:
   trunk/data/default.cfg
Log:
remove demos/ prefix from ply and tdem, and make them supported by tab completion


Modified: trunk/data/default.cfg
===================================================================
--- trunk/data/default.cfg	2008-02-08 10:12:02 UTC (rev 3341)
+++ trunk/data/default.cfg	2008-02-08 10:29:39 UTC (rev 3342)
@@ -36,10 +36,9 @@
 alias gotomap "sv_cmd gotomap \"$1\""
 alias reset "exec game_reset.cfg"
 
-alias dem "ls demos/*.dem"
 alias rec "record demos/$1"
-alias ply "playdemo demos/$1"
-alias tdem "timedemo demos/$1"
+alias ply "playdemo $1"
+alias tdem "timedemo $1"
 
 alias dropweapon "impulse 17"
 alias +show_info +button7
@@ -906,6 +905,8 @@
 // tab completion
 set con_completion_playdemo *.dem
 set con_completion_timedemo *.dem
+set con_completion_ply      *.dem
+set con_completion_tdem     *.dem
 set con_completion_exec     *.cfg
 set con_completion_chmap    map
 set con_completion_gotomap  map




More information about the nexuiz-commits mailing list