`.zim/modules/environment/init.zsh:setopt:16: no such option: CD_SILENT` when launching shell
eturkes opened this issue · 1 comments
- I've checked the existing issues and I'm not duplicating a report.
- I'm using the latest version of
zimfw
. - I've checked the Changelog and I'm not being affected by documented changes.
- I've checked the 📢 Announcements and I'm not being affected by announced changes.
- I was able to reproduce the issue with a clean installation of Zim.
- I've pasted the output of
zimfw info
below.
Describe the bug
When launching a fresh instance of Zsh, I get the message in the title. It seems to be benign and does not appear until the shell is launched again. I get the message both on my daily use Zsh setup and following the repro example below, with no additional steps to the reproduce.
Steps to reproduce
The fist 4 steps restart the shell with a clean installation of Zim in a temporary directory.
Use exec zsh
when restarting the terminal or restarting the shell is needed.
cd ${$(mktemp -d):A}
ZDOTDIR=${PWD} HOME=${PWD} ZIM_HOME=${PWD}/.zim exec zsh
curl -fsSL https://raw.githubusercontent.com/zimfw/install/master/install.zsh | zsh
exec zsh
- The message should appear
Current behavior
.zim/modules/environment/init.zsh:setopt:16: no such option: CD_SILENT
when launching a fresh instance of Zsh.
Expected behavior
No warning message.
Screenshots
N/A
zimfw info
Note: I scrubbed some info from the System info section.
zimfw version: 1.6.2 (built at 2021-11-21 19:40:05 UTC, previous commit is a5fb148)
ZIM_HOME: /home/eturkes/.zim
Zsh version: 5.6
System info: Linux 5.3.18-59.34-default #1 SMP Thu Nov 11 12:18:45 UTC 2021 x86_64 GNU/Linux
Additional context
N/A
Ops, sorry about this. The option was introduced only in Zsh 5.8.