diff options
author | Mohammad <mohammad@gazelle.ai> | 2020-05-23 16:33:09 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-23 22:33:09 +0200 |
commit | dd1df902525c485e575719ef9971f97f3e64a02b (patch) | |
tree | 237a30c185703647361cc2aadb5e2cea73aa1acb /plugins/python | |
parent | 3f245edf1be1592e70d6deca6b3ecb8abf8e1356 (diff) | |
download | zsh-dd1df902525c485e575719ef9971f97f3e64a02b.tar.gz zsh-dd1df902525c485e575719ef9971f97f3e64a02b.tar.bz2 zsh-dd1df902525c485e575719ef9971f97f3e64a02b.zip |
python: add line-number to pygrep (#8867)
Diffstat (limited to 'plugins/python')
-rw-r--r-- | plugins/python/python.plugin.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/python/python.plugin.zsh b/plugins/python/python.plugin.zsh index 3e4db1e7d..c3c1474c1 100644 --- a/plugins/python/python.plugin.zsh +++ b/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()'" |