#!/bin/sh
if [ ! -d "$@" ] # if not directory
  # then execute "$@" selection in specified rxvt terminal window.
  then rxvt -font 8x16 -ls -sl 500 -sr +st $@
  # else change to "$@" directory and open specified rxvt terminal window.
  else cd "$@"; rxvt -font 8x16 -ls -sl 500 -sr +st -title "$@"
fi

