It's the same as in bash. Not sure why it doesn't work for you.

In my zsh shell:

$ echo $SHELL

/usr/bin/zsh

$ cd /tmp

$ d=$(ls)

$ echo $d

file1 file2 file3 ...



On 8/21/20 8:17 PM, caziz wrote:
> ls -lt $(lsdot)

Attachment: pEpkey.asc
Description: application/pgp-keys

Attachment: publickey -
Description: application/pgp-key

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Reply via email to