Commit 04011838 authored by Bruno Pinto's avatar Bruno Pinto

Closes #95: defining local variable and fixing args check

parent ef24766b
# clean current directory recursively from any .pyc and .pyo files # clean current directory recursively from any .pyc and .pyo files
function pyclean function pyclean
if test -n $argv set -l path2CLEAN
set path2CLEAN $argv
else if set -q $argv
set path2CLEAN . set path2CLEAN .
else
set path2CLEAN $argv
end end
find $path2CLEAN -name "*.py[co]" -type f -delete find $path2CLEAN -name "*.py[co]" -type f -delete
end end
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment