Unverified Commit dd1df902 authored by Mohammad's avatar Mohammad Committed by GitHub
Browse files

python: add line-number to pygrep (#8867)

parent 3f245edf
...@@ -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 -nr --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()'"
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