[dwm] dmenu filename tab-completion patch

From: Jeremy Jay <dinkumator_AT_gmail.com>
Date: Tue, 27 Jan 2009 16:48:59 -0500

I always try to do this and get frustrated when I remember it doesn't
work, but today I actually looked up the man pages and found out how
easy it is to get dmenu to support filename tab-completion. This patch
adds a small function that completes a filename argument as far as
possible. If you'd rather complete to the first match, just comment
or delete the block specified. With this patch it is now possible to
type 'ooc<tab> ~/big<tab>' and get:
  'oocalc /home/user/big\ filename\ i\ dont\ want\ to\ type.xls'

Hope others find it as useful!

Jeremy

Received on Tue Jan 27 2009 - 21:48:59 UTC

This archive was generated by hypermail 2.2.0 : Tue Jan 27 2009 - 22:00:05 UTC