Re: [dwm] dmenu directory test

From: Peter Hartlich <sgkkr_AT_hartlich.com>
Date: Sat, 14 Jun 2008 22:16:03 +0200

Hi,

> [...] I was wondering if it would make sense to add a test in dmenu_path
> to make sure the directory actually exists before trying to cd into it?

If you're bothered about cd printing an error message, you could just add
2>/dev/null to the cd line.

Regards,
Peter
Received on Sat Jun 14 2008 - 22:16:29 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:49:33 UTC