That is neat. Thanks.

(Not sure if it makes sense as part of the standard distribution, but
it is certainly simple enough).

uriel

On Nov 1, 2007 8:34 AM, S.P.Tseng <[EMAIL PROTECTED]> wrote:
> Maybe someone like it.
>
> #----------------------------------------
> #
> fn jump-or-exec {
>      switch(`{read_tags | grep  $1}) {
>      case $1
>      wmiir xwrite /ctl view $1
>      case *
>      if (test -n $2) {
>      run_command  $2 &
>      }; if not {
>      run_command $* &
>      }
>      }
> }
>
> You can call it like is
>
> fn Key-$MODKEY-w { jump-or-exec web iceweasel }
>
> --
>
>
>

Reply via email to