Cleanup how it works for bash

This commit is contained in:
Kovid Goyal 2022-02-22 21:37:50 +05:30
parent d4f4d56f94
commit e7846f916a
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -148,10 +148,12 @@ different shells.
.. tab:: bash .. tab:: bash
For bash, kitty starts bash in POSIX mode and implements the loading of the For BASH, kitty starts bash in POSIX mode, using the environment variable
bash startup files in the integration script itself, after disabling POSIX ``ENV`` to load the shell integrtion script. This prevents BASH from
mode. From the perspective of those scripts there should be no difference loading any startup files itself. The loading of the startup files is done
to running vanilla bash. by the integration script itself, after disabling POSIX mode. From the
perspective of those scripts there should be no difference to running
vanilla bash.
Then, when launching the shell, kitty sets the environment variable Then, when launching the shell, kitty sets the environment variable