zsh-users
 help / color / mirror / code / Atom feed
* global aliases and scripts in $path
@ 2006-09-07 18:41 Thorsten Kampe
  2006-09-07 19:20 ` Frank Terbeck
  0 siblings, 1 reply; 2+ messages in thread
From: Thorsten Kampe @ 2006-09-07 18:41 UTC (permalink / raw)
  To: zsh-users

Hi,

I've got a few global aliases[1] that allow me run my preferred
scripts without the "./" nuisance (no I generally don't want the
current folder in my path because of the security implications).

This works fine but a few apps in /bin have an extension. So when I
type rst2html.py (which is in /bin) python says it can't find the file
(yep, it's not in the current directory).

Is there a way out of this dilemma - meaning keeping the useful global
alias and also be able to run files in $path who have an aliases
extension?!

Thorsten

[1] alias -s exe=wine  \
             py=python \
            zsh=zsh


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

end of thread, other threads:[~2006-09-07 19:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-07 18:41 global aliases and scripts in $path Thorsten Kampe
2006-09-07 19:20 ` Frank Terbeck

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