c6dce05fabd31c018cd77197329a6d5212e56787
- Author
- Carlos Cardoso <cadu@oscardoso.com.br>
- Committer
- Carlos Cardoso <cadu@oscardoso.com.br>
- Date
Message
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