summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorMike Crute <crutem@amazon.com>2019-04-18 09:01:52 -0700
committerMike Crute <crutem@amazon.com>2019-04-18 09:38:28 -0700
commit3d7571ce77467656473d30df09694e68222a6f2d (patch)
tree66f5298c64e05dc854b30292bd8b3986a4ec22ea /.bashrc
parent2c60241692cc3db0f00871ca36601893a3e7abe8 (diff)
downloaddotfiles-3d7571ce77467656473d30df09694e68222a6f2d.tar.bz2
dotfiles-3d7571ce77467656473d30df09694e68222a6f2d.tar.xz
dotfiles-3d7571ce77467656473d30df09694e68222a6f2d.zip
Add lgrep command
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index 0c6ae09..e66a881 100644
--- a/.bashrc
+++ b/.bashrc
@@ -391,6 +391,12 @@ function vimgrep
391} 391}
392func_export vimgrep 392func_export vimgrep
393 393
394function lgrep
395{
396 grep --color=always $@ | less
397}
398func_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
396function mutt 402function mutt