0f380eab33d03c418ec82255fe0aaf4c3a3429a9

Author
Robby Russell <robby@planetargon.com>
Committer
Robby Russell <robby@planetargon.com>
Date

Message

Merge pull request #2245 from cadusk/p3

python3 clean updated.

Diff

 1diff --git a/plugins/python/python.plugin.zsh b/plugins/python/python.plugin.zsh
 2index 852c8b919ed77a45d68b0a57535b9b8995a8f8dd..a8f9760ad786490870cc038a35af21464cba33d7 100644
 3--- a/plugins/python/python.plugin.zsh
 4+++ b/plugins/python/python.plugin.zsh
 5@@ -6,6 +6,7 @@ alias pyfind='find . -name "*.py"'
 6 function pyclean() {
 7     ZSH_PYCLEAN_PLACES=${*:-'.'}
 8     find ${ZSH_PYCLEAN_PLACES} -type f -name "*.py[co]" -delete
 9+    find ${ZSH_PYCLEAN_PLACES} -type d -name "__pycache__" -delete
10 }
11 
12 # Grep among .py files