summaryrefslogtreecommitdiff
path: root/plugins/python
diff options
context:
space:
mode:
authorAmila Perera <perera.amila@gmail.com>2013-11-23 10:33:30 +0530
committerAmila Perera <perera.amila@gmail.com>2013-11-23 10:33:30 +0530
commit27d048aa5729dfb9fa8119bc8ed4abb61619d7ea (patch)
tree61cc1d756677109ccbc5c45893e0b9a2dab96387 /plugins/python
parent4e7b0fe083ecc99c1ea8c250d8b9cfcde09f2cd3 (diff)
parent9f5a895192b7d6b75ba717ef4e2c9b6ed7977c68 (diff)
downloadzsh-27d048aa5729dfb9fa8119bc8ed4abb61619d7ea.tar.gz
zsh-27d048aa5729dfb9fa8119bc8ed4abb61619d7ea.tar.bz2
zsh-27d048aa5729dfb9fa8119bc8ed4abb61619d7ea.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'plugins/python')
-rw-r--r--plugins/python/python.plugin.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/python/python.plugin.zsh b/plugins/python/python.plugin.zsh
index 852c8b919..a8f9760ad 100644
--- a/plugins/python/python.plugin.zsh
+++ b/plugins/python/python.plugin.zsh
@@ -6,6 +6,7 @@ alias pyfind='find . -name "*.py"'
function pyclean() {
ZSH_PYCLEAN_PLACES=${*:-'.'}
find ${ZSH_PYCLEAN_PLACES} -type f -name "*.py[co]" -delete
+ find ${ZSH_PYCLEAN_PLACES} -type d -name "__pycache__" -delete
}
# Grep among .py files