zsh-users
 help / color / mirror / code / Atom feed
* strange alias effects
@ 2000-05-29  9:56 Andy Spiegl
  2000-05-29 10:13 ` Bart Schaefer
  2000-05-29 11:44 ` Andrej Borsenkow
  0 siblings, 2 replies; 12+ messages in thread
From: Andy Spiegl @ 2000-05-29  9:56 UTC (permalink / raw)
  To: ZSH User List

I just upgraded to 3.1.7-pre-4 and found something strange:

In my dot-files I've got this (among others):
 alias psl='ps -eo user,pid,ppid,cpu,pmem,rss,vsize,bsdtime,bsdstart,cmd --sort user,pid | \grep -v "bsdtime,bsdstart"' 
 alias pslS='ps -eo user,pid,ppid,cpu,pmem,rss,vsize,bsdtime,bsdstart,cmd --sort -size | \grep -v "bsdtime,bsdstart"'
 look.for () { psl | \grep -iE "(^USER|$@)" | \grep -v "grep -iE" }
 alias lookall='psl | grep -vE "(^($USERNAME|root|bin))|login"'

When I type
 look.for ssh-agent
I get:
 look.for: command not found: psl

"lookall" works as usual.

After typing
 look.for () { psl | \grep -iE "(^USER|$@)" | \grep -v "grep -iE" }
on the shell prompt, it works.

Can anyone explain this to me, please?
 Thanks,
   Andy.

-- 
 E-Mail: Andy@spiegl.de     URL: http://andy.spiegl.de
 PGP/GPG: see headers
                                o      _     _         _
  --------- __o       __o      /\_   _ \\o  (_)\__/o  (_)
  ------- _`\<,_    _`\<,_    _>(_) (_)/<_    \_| \   _|/' \/
  ------ (_)/ (_)  (_)/ (_)  (_)        (_)   (_)    (_)'  _\o_
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2000-05-29 17:25 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-29  9:56 strange alias effects Andy Spiegl
2000-05-29 10:13 ` Bart Schaefer
2000-05-29 10:27   ` Andy Spiegl
2000-05-29 13:32     ` Sven Wischnowsky
2000-05-29 13:47       ` Andy Spiegl
2000-05-29 17:24       ` Bart Schaefer
2000-05-29 11:44 ` Andrej Borsenkow
2000-05-29 12:06   ` Andrej Borsenkow
2000-05-29 12:13     ` Andy Spiegl
2000-05-29 12:30       ` Andrej Borsenkow
2000-05-29 12:59         ` Andy Spiegl
     [not found]           ` <000301bfc96e$cf7af2b0$21c9ca95@mow.siemens.ru>
2000-05-29 13:13             ` Andy Spiegl

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).