diff options
author | Mike Crute <crutem@amazon.com> | 2019-04-18 09:01:52 -0700 |
---|---|---|
committer | Mike Crute <crutem@amazon.com> | 2019-04-18 09:38:28 -0700 |
commit | 3d7571ce77467656473d30df09694e68222a6f2d (patch) | |
tree | 66f5298c64e05dc854b30292bd8b3986a4ec22ea /.bashrc | |
parent | 2c60241692cc3db0f00871ca36601893a3e7abe8 (diff) | |
download | dotfiles-3d7571ce77467656473d30df09694e68222a6f2d.tar.bz2 dotfiles-3d7571ce77467656473d30df09694e68222a6f2d.tar.xz dotfiles-3d7571ce77467656473d30df09694e68222a6f2d.zip |
Add lgrep command
Diffstat (limited to '.bashrc')
-rw-r--r-- | .bashrc | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -391,6 +391,12 @@ function vimgrep | |||
391 | } | 391 | } |
392 | func_export vimgrep | 392 | func_export vimgrep |
393 | 393 | ||
394 | function lgrep | ||
395 | { | ||
396 | grep --color=always $@ | less | ||
397 | } | ||
398 | func_export lgrep | ||
399 | |||
394 | # Start the correct version of mutt for the environment and revise the config | 400 | # Start the correct version of mutt for the environment and revise the config |
395 | # for whatever color-scheme is appropriate for the terminal background color | 401 | # for whatever color-scheme is appropriate for the terminal background color |
396 | function mutt | 402 | function mutt |