diff --git a/twander.1 b/twander.1 index 03220c5..a3f63e2 100644 --- a/twander.1 +++ b/twander.1 @@ -105,24 +105,30 @@ of the Command Key is ignored, so \'X\' and \'x\' will both invoke the same command, if any. -Within the Command String you can specify three different +Within the Command String you can specify several different kinds of information: literal text which \'twander\' will not touch, words beginning with the .B $ symbol, which are interpreted as environment variables, +the special symbol +.B [FILE], and the special symbol -.B [NAME]. +.B [DIRECTORY]. When you decide to run a command, \'twander\' will replace -[NAME] with the currently selected file or directory name. +[FILE] with the currently selected file name. This will be the +.B fully qualified name of the file +- i.e., it will include the full path name. Similarly, +[DIRECTORY] is replaced with the current directory +name (ending with a path separator character). Here is an example .twander file: .nf # 'twander' configuration file example -&edit $EDITOR [NAME] -vie&w $PAGER [NAME] -ls /bin/ls -al [NAME] | $PAGER +&edit $EDITOR [FILE] +vie&w $PAGER [FILE] +ls /bin/ls -al [FILE] | $PAGER .fi