Re: [dwm] dmenu filename tab-completion patch

From: Antoni Grzymala <antoni_AT_chopin.edu.pl>
Date: Tue, 27 Jan 2009 23:57:20 +0100

Jeremy Jay dixit (2009-01-27, 16:48):

> 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!

Way cool. Had always wished someone would write this patch :).

-- 
[a]

Received on Tue Jan 27 2009 - 22:57:20 UTC

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