mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-18 20:00:07 +00:00
python: add line-number to pygrep (#8867)
This commit is contained in:
parent
3f245edf1b
commit
dd1df90252
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ function pyuserpaths() {
|
|||
}
|
||||
|
||||
# Grep among .py files
|
||||
alias pygrep='grep -r --include="*.py"'
|
||||
alias pygrep='grep -nr --include="*.py"'
|
||||
|
||||
# Run proper IPython regarding current virtualenv (if any)
|
||||
alias ipython="python -c 'import IPython; IPython.terminal.ipapp.launch_new_instance()'"
|
||||
|
|
Loading…
Reference in a new issue