aboutsummaryrefslogtreecommitdiff
path: root/home/john
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-07-26 13:02:18 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-07-26 13:06:12 +0200
commit8f540b2f3f912c59fc91b074b4ce6f90858dddf4 (patch)
tree79971a1dacc4ebfb2e5aabf4299bfe5ee0be57ac /home/john
parent5ca8defb791abc7e6346a63640a8fdd4873e138f (diff)
downloadlbsd-8f540b2f3f912c59fc91b074b4ce6f90858dddf4.tar.gz
.shrc: Improve grep
Diffstat (limited to 'home/john')
-rw-r--r--home/john/.shrc5
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'