浏览代码

python3 clean updated.

Carlos Cardoso 11 年之前
父节点
当前提交
c6dce05fab
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      plugins/python/python.plugin.zsh

+ 1 - 0
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