Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
0f380eab
Commit
0f380eab
authored
Nov 12, 2013
by
Robby Russell
Browse files
Merge pull request #2245 from cadusk/p3
python3 clean updated.
parents
e30a1243
c6dce05f
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/python/python.plugin.zsh
View file @
0f380eab
...
@@ -6,6 +6,7 @@ alias pyfind='find . -name "*.py"'
...
@@ -6,6 +6,7 @@ alias pyfind='find . -name "*.py"'
function
pyclean
()
{
function
pyclean
()
{
ZSH_PYCLEAN_PLACES
=
${
*
:-
'.'
}
ZSH_PYCLEAN_PLACES
=
${
*
:-
'.'
}
find
${
ZSH_PYCLEAN_PLACES
}
-type
f
-name
"*.py[co]"
-delete
find
${
ZSH_PYCLEAN_PLACES
}
-type
f
-name
"*.py[co]"
-delete
find
${
ZSH_PYCLEAN_PLACES
}
-type
d
-name
"__pycache__"
-delete
}
}
# Grep among .py files
# Grep among .py files
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment