You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
oh-my-fish/plugins/python/pyclean.fish

10 lines
232 B
Fish

# clean current directory recursively from any .pyc and .pyo files
function pyclean
if test -n $argv
set path2CLEAN $argv
else
set path2CLEAN .
end
find $path2CLEAN -name "*.pyc" -delete -o -name "*.pyo" -delete
end