Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[BUG] The commands array contains dirs instead of the actual executables



❯ 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


Messages sorted by: Reverse Date, Date, Thread, Author