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
Ohmyzsh
Commits
dd1df902
Unverified
Commit
dd1df902
authored
May 23, 2020
by
Mohammad
Committed by
GitHub
May 23, 2020
Browse files
python: add line-number to pygrep (#8867)
parent
3f245edf
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/python/python.plugin.zsh
View file @
dd1df902
...
@@ -41,7 +41,7 @@ function pyuserpaths() {
...
@@ -41,7 +41,7 @@ function pyuserpaths() {
}
}
# Grep among .py files
# Grep among .py files
alias
pygrep
=
'grep -r --include="*.py"'
alias
pygrep
=
'grep -
n
r --include="*.py"'
# Run proper IPython regarding current virtualenv (if any)
# Run proper IPython regarding current virtualenv (if any)
alias
ipython
=
"python -c 'import IPython; IPython.terminal.ipapp.launch_new_instance()'"
alias
ipython
=
"python -c 'import IPython; IPython.terminal.ipapp.launch_new_instance()'"
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