From 8f540b2f3f912c59fc91b074b4ce6f90858dddf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Mon, 26 Jul 2021 13:02:18 +0200 Subject: .shrc: Improve grep --- home/john/.shrc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'home') 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' -- cgit v1.2.3