I struggled a bit setting up the current version of base16-shell on a new machine.
After digging through it I came across the grep -P call in profile_helper.sh.
The -P flag, or --perl-regexp, is not available in the grep command that ships with macOS (tested on Monterey), so when zsh initialised it printed out some errors mentioning that -P is not supported.
The good news is that the search pattern used in this grep call doesn't contain any Perl specific elements so I thought we could remove it altogether without affecting functionality.
I struggled a bit setting up the current version of
base16-shell
on a new machine. After digging through it I came across thegrep -P
call inprofile_helper.sh
.The -P flag, or --perl-regexp, is not available in the grep command that ships with macOS (tested on Monterey), so when zsh initialised it printed out some errors mentioning that
-P
is not supported.The good news is that the search pattern used in this grep call doesn't contain any Perl specific elements so I thought we could remove it altogether without affecting functionality.