It’s not a big one, but one I’ve run in to when creating python scripts to dump out commands with comments so others can see what the command does. To avoid the system returning a line every time that the command cannot find the command the following solutions apply.


We have two solutions here:

set -k


Both work well

zsh ignore commands beginning ‘#’
Tagged on:         

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.