mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-12-01 13:22:23 +08:00
10 lines
253 B
Fish
10 lines
253 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
|