]> git.rmz.io Git - dotfiles.git/blob - zsh/plugins/python/python.plugin.zsh
merge oh-my-zsh into subdir
[dotfiles.git] / zsh / plugins / python / python.plugin.zsh
1 # Find python file
2 alias pyfind='find . -name "*.py"'
3
4 # Remove python compiled byte-code in either current directory or in a
5 # list of specified directories
6 function pyclean() {
7 ZSH_PYCLEAN_PLACES=${*:-'.'}
8 find ${ZSH_PYCLEAN_PLACES} -type f -name "*.py[co]" -delete
9 }
10
11 # Grep among .py files
12 alias pygrep='grep --include="*.py"'