]> git.phdru.name Git - dotfiles.git/commitdiff
.mc/menu: exclude python byte-compiled files for diff
authorOleg Broytman <phd@phdru.name>
Wed, 27 May 2015 14:41:41 +0000 (17:41 +0300)
committerOleg Broytman <phd@phdru.name>
Wed, 27 May 2015 14:41:41 +0000 (17:41 +0300)
.mc/menu

index f549ae4765ba61cd162632acbe68bf437f9bfc46..c4ec3f521aa4a10d37064f468b86c2e94a09e691 100644 (file)
--- a/.mc/menu
+++ b/.mc/menu
@@ -456,11 +456,11 @@ V  vimdiff these files
 
 + t d & ! f ^\.\.$
 d  Diff the directory
-   exec diff -ru --speed-large-files %D/%f %f
+   exec diff -ru --speed-large-files -x '*.py[co]' %D/%f %f
 
 + t d & T d & ! F ^\.\.$
 D  Diff these directories
-   exec diff -ru --speed-large-files %D/%F %f
+   exec diff -ru --speed-large-files -x '*.py[co]' %D/%F %f
 
 += f \.(asc|sig(n)?)$ & t r
 v  Verify signature