Re: alias command not effective

2011-01-22 Thread Thomas Wiedmann
alias laf='ls -la | grep -v "^d"' Thanks - with this statement the alias was recognized. Thomas Wiedmann -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygw

Re: alias command not effective

2011-01-17 Thread Julio Costa
On Mon, Jan 17, 2011 at 14:04, Eric Blake wrote: > > On 01/17/2011 01:24 AM, Thomas Wiedmann wrote: > > Hello, > > > > After defining an alias, e. g. > > > >  alias laf='ls -la' | grep -v "^d" > > That defined an alias in the subshell used to form the pipeline. > Aliases in child processes do not a

Re: alias command not effective

2011-01-17 Thread Eric Blake
On 01/17/2011 01:24 AM, Thomas Wiedmann wrote: > Hello, > > After defining an alias, e. g. > > alias laf='ls -la' | grep -v "^d" That defined an alias in the subshell used to form the pipeline. Aliases in child processes do not affect the parent process. > laf > bash:: laf: command not found