summaryrefslogtreecommitdiff
path: root/zrun
diff options
context:
space:
mode:
Diffstat (limited to 'zrun')
-rwxr-xr-xzrun2
1 files changed, 1 insertions, 1 deletions
diff --git a/zrun b/zrun
index cedfbae..50026eb 100755
--- a/zrun
+++ b/zrun
@@ -42,7 +42,7 @@ use File::Temp qw{tempfile};
my $program;
-if ($0 =~ m{(?:^|/)z([^/]+)$}) {
+if ($0 =~ m{(?:^|/)z([^/]+)$} && $1 ne 'run') {
$program = $1;
if (! @ARGV) {
die "Usage: z$1 <args>\nEquivalent to: zrun $1 <args>\n";