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

master
Mohammad 6 years ago committed by GitHub
parent 3f245edf1b
commit dd1df90252
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      plugins/python/python.plugin.zsh

@ -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…
Cancel
Save