From: Thorsten Kampe <thorsten@thorstenkampe.de>
To: zsh-users@sunsite.dk
Subject: global aliases and scripts in $path
Date: Thu, 7 Sep 2006 19:41:33 +0100 [thread overview]
Message-ID: <8fa44mahj1nj$.1fkuabkux8c7f.dlg@40tude.net> (raw)
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
next reply other threads:[~2006-09-07 18:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-07 18:41 Thorsten Kampe [this message]
2006-09-07 19:20 ` Frank Terbeck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='8fa44mahj1nj$.1fkuabkux8c7f.dlg@40tude.net' \
--to=thorsten@thorstenkampe.de \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).