From: Rudi C <rudiwillalwaysloveyou@gmail.com>
To: zsh-workers@zsh.org
Subject: [BUG] The commands array contains dirs instead of the actual executables
Date: Thu, 1 Oct 2020 14:01:53 +0330 [thread overview]
Message-ID: <CAE9z9A1A-9NFdT2taey6Y18Ek7hg4pRO-goUYvsh-xChriZvGg@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1434 bytes --]
❯ zsh -f
Fereidoons-MacBook-Pro% which dash
/bin/dash
Fereidoons-MacBook-Pro% which bash
/usr/local/bin/bash
Fereidoons-MacBook-Pro% echo ${commands[dash]}
/Users/evar/scripts///dash
Fereidoons-MacBook-Pro% echo ${commands[bash]}
/Users/evar/scripts///bash
Fereidoons-MacBook-Pro% echo ${commands[zsh]}
/Users/evar/scripts///zsh
Fereidoons-MacBook-Pro% ls -l /Users/evar/scripts/
total 0
drwxr-xr-x 9 evar staff 288 Jul 16 12:49 applescript
drwxr-xr-x 12 evar staff 384 Jul 8 16:35 bash
drwxr-xr-x 4 evar staff 128 Sep 23 17:07 bin
drwxr-xr-x 4 evar staff 128 Aug 11 01:29 clojure
drwxr-xr-x 3 evar staff 96 Aug 8 00:05 configFiles
drwxr-xr-x 3 evar staff 96 Apr 20 03:19 dash
drwxr-xr-x 3 evar staff 96 Apr 16 21:13 deactivated-launchers
drwxr-xr-x 2 evar staff 64 May 18 12:37 export
drwxr-xr-x 6 evar staff 192 Sep 20 16:14 golang
drwxr-xr-x 13 evar staff 416 Sep 19 13:24 javascript
drwxr-xr-x 10 evar staff 320 Sep 28 00:04 launchers
drwxr-xr-x 30 evar staff 960 Sep 23 18:38 python
drwxr-xr-x 5 evar staff 160 Sep 4 10:34 resources
drwxr-xr-x 3 evar staff 96 Apr 16 21:13 ruby
drwxr-xr-x 4 evar staff 128 Jul 31 03:48 rust
drwxr-xr-x 20 evar staff 640 Sep 21 17:41 setup
drwxr-xr-x 3 evar staff 96 May 9 11:04 sh
drwxr-xr-x 3 evar staff 96 Aug 25 00:46 supercollider
drwxr-xr-x 26 evar staff 832 Sep 5 18:49 zsh
[-- Attachment #2: Type: text/html, Size: 1601 bytes --]
next reply other threads:[~2020-10-01 10:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-01 10:31 Rudi C [this message]
2020-10-02 4:43 ` Bart Schaefer
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=CAE9z9A1A-9NFdT2taey6Y18Ek7hg4pRO-goUYvsh-xChriZvGg@mail.gmail.com \
--to=rudiwillalwaysloveyou@gmail.com \
--cc=zsh-workers@zsh.org \
/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).