We dont change shell rc files anymore
This commit is contained in:
parent
dceb00f669
commit
ffbc9174f8
@ -160,8 +160,7 @@ Then, when launching the shell, kitty sets the environment variable
|
|||||||
:envvar:`KITTY_SHELL_INTEGRATION` to the value of the :opt:`shell_integration`
|
:envvar:`KITTY_SHELL_INTEGRATION` to the value of the :opt:`shell_integration`
|
||||||
option. The shell integration code reads the environment variable, turns on the
|
option. The shell integration code reads the environment variable, turns on the
|
||||||
specified integration functionality and then unsets the variable so as to not
|
specified integration functionality and then unsets the variable so as to not
|
||||||
pollute the system. This has the nice effect that the changes to the shell's rc
|
pollute the system.
|
||||||
files become no-ops when running the shell in anything other than kitty itself.
|
|
||||||
|
|
||||||
The actual shell integration code uses hooks provided by each shell to send
|
The actual shell integration code uses hooks provided by each shell to send
|
||||||
special escape codes to kitty, to perform the various tasks. You can see the
|
special escape codes to kitty, to perform the various tasks. You can see the
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user