help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: grep excludes


From: B.V. Raghav
Subject: Re: grep excludes
Date: Sat, 09 Jul 2016 19:46:20 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Rusi <address@hidden> writes:

> lgrep -e emacs ~/vit-projects-common-wiki/ /dev/null
> /bin/bash: lgrep: command not found

Perhaps, aliases was not configured properly!

> > and you can define lgrep and rgrep in your .bashrc (or .bash_aliases) as 
> > follows:
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^
                                               this step is necessary
> > alias lgrep='grep -n '
> > alias rgrep='grep -nR '

Try the following in your command line:

$ alias lgrep
alias lgrep='grep -n '

or something like that should be ouput.


If this is not the case, The problem is about configuring your shell
environment for emacs, not the emacs itself

http://tldp.org/LDP/abs/html/aliases.html

Thanks,
r
-- 
(B.V. Raghav)
Ph.D. Student,
Design Programme, IIT Kanpur



reply via email to

[Prev in Thread] Current Thread [Next in Thread]