help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

dired-guess-shell-alist-user: How to match folders instead of file types


From: Marius Hofert
Subject: dired-guess-shell-alist-user: How to match folders instead of file types?
Date: Tue, 25 Jun 2013 13:24:35 +0200

Hi,

I use ...

(setq dired-guess-shell-alist-user
      '(("\\.zip\\'" "(unzip ? &>/dev/null &)")
("\\.tar.gz\\'" "(tar xzf ? &>/dev/null &)")))

... to execute the corresponding command from dired-mode (on
M-!).  I am wondering how one can match *folders* (in contrast to
file types such as .zip, .tar.gz), such that M-! suggests a
command to be executed on folders?

Cheers,

Marius



reply via email to

[Prev in Thread] Current Thread [Next in Thread]