dzsh.roleswitch.silent
This configuration parameter specifies whether to display role information when changing from one role to another is a restricted shell.
By default, changing from one role to another displays a message indicating that you have changed your current role. For most commands that run in a restricted shell, displaying this message has no affect on the execution of the command.
There are cases, however, where a command—such as sftp
or git—expects a specific
type of response. Because the role change message is not the expected response,
the message can cause the command to fail.
You can use this parameter to address those cases where the role change message would cause a command to fail.
Set this configuration parameter to true to prevent the role switch information from being displayed when running commands in a restricted shell. The default value is false.
For example:
dzsh.roleswitch.silent: true