diff options
author | John Ankarström <john@ankarstrom.se> | 2021-07-26 13:02:18 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-07-26 13:06:12 +0200 |
commit | 8f540b2f3f912c59fc91b074b4ce6f90858dddf4 (patch) | |
tree | 79971a1dacc4ebfb2e5aabf4299bfe5ee0be57ac /home | |
parent | 5ca8defb791abc7e6346a63640a8fdd4873e138f (diff) | |
download | lbsd-8f540b2f3f912c59fc91b074b4ce6f90858dddf4.tar.gz |
.shrc: Improve grep
Diffstat (limited to 'home')
-rw-r--r-- | home/john/.shrc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/home/john/.shrc b/home/john/.shrc index 74a6744..296fbd2 100644 --- a/home/john/.shrc +++ b/home/john/.shrc @@ -11,8 +11,13 @@ case "$-" in *i*) export MANPATH=/usr/pkg/heirloom-doctools/man:$_MANPATH export GIT_EDITOR='vi +:"so /usr/local/share/git.exrc"' + c="*.[ch]" + p="*.p[lm]" + cc="$c */$c" + pp="$p */$p" alias ack='ack --noheading --nocolor' + alias grep='grep -n' alias info='info --vi-keys' alias ls='ls -p' alias mail='PAGER=more mail' |