zsh-workers
 help / color / mirror / code / Atom feed
* Re: zsh alias question
@ 2006-04-18 14:04 Dominic Mitchell
  0 siblings, 0 replies; 2+ messages in thread
From: Dominic Mitchell @ 2006-04-18 14:04 UTC (permalink / raw)
  To: zzapper; +Cc: zsh-users, zsh-workers

On Tue, Apr 18, 2006 at 01:46:23PM +0000, zzapper wrote:
> Paul Lew <paullew@cisco.com> wrote in news:17460.9011.468218.643705@cns-
> build4.cisco.com:
> 
> >>>>>> "Stephen" == Stephen Henry <stephenry@gmail.com> writes:
> > 
> >     Stephen> Okay, This is a pretty simple problem, but after looking
> >     Stephen> over the documentation, I cannot figure out what is
> >     Stephen> wrong. If I type
> > 
> >     Stephen> alias emacs='emacs -nw'
> > 
> > I have the same alias and had no problem.  Try 'which emacs' to see
> > what is mapped.
> > 
> 
> Is there a generally agreed convention for ensuring that one is using the 
> "native" tool rather than a same-named function alias etc?
> 
> eg
> alias emacs='/bin/emacs -nw'
> or
> alias emacs='\emacs -nw'

I think that this will always work:

  alias emacs='command emacs -nw'

-Dom


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

* RE: zsh alias question
@ 2006-04-18 13:46 zzapper
  0 siblings, 0 replies; 2+ messages in thread
From: zzapper @ 2006-04-18 13:46 UTC (permalink / raw)
  To: zsh-workers; +Cc: zsh-users

Paul Lew <paullew@cisco.com> wrote in news:17460.9011.468218.643705@cns-
build4.cisco.com:

>>>>>> "Stephen" == Stephen Henry <stephenry@gmail.com> writes:
> 
>     Stephen> Okay, This is a pretty simple problem, but after looking
>     Stephen> over the documentation, I cannot figure out what is
>     Stephen> wrong. If I type
> 
>     Stephen> alias emacs='emacs -nw'
> 
> I have the same alias and had no problem.  Try 'which emacs' to see
> what is mapped.
> 

Is there a generally agreed convention for ensuring that one is using the 
"native" tool rather than a same-named function alias etc?

eg
alias emacs='/bin/emacs -nw'
or
alias emacs='\emacs -nw'



-- 
http://successtheory.com/tips/ 100 FREE Success and Self-Improvement Tips



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

end of thread, other threads:[~2006-04-18 14:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-18 14:04 zsh alias question Dominic Mitchell
  -- strict thread matches above, loose matches on Subject: below --
2006-04-18 13:46 zzapper

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).