Skip to content

Commit

Permalink
Merge branch 'clone-env-black-list' of https://github.com/akinomyoga/…
Browse files Browse the repository at this point in the history
  • Loading branch information
kovidgoyal committed Jan 30, 2025
2 parents 4190206 + e495aa0 commit f7d804e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions kitty/launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -917,6 +917,21 @@ def parse_message(self, msg: str) -> None:
'SSH_TUNNEL', 'SSH_USER_AUTH', 'SSH_AUTH_SOCK',
# Dont clone KITTY_WINDOW_ID
'KITTY_WINDOW_ID',
# Bash variables from "bind -x" and "complete -C" (needed not to confuse bash-preexec)
'READLINE_ARGUMENT', 'READLINE_LINE', 'READLINE_MARK', 'READLINE_POINT',
'COMP_LINE', 'COMP_POINT', 'COMP_TYPE',
# GPG gpg-agent
'GPG_TTY',
# Session variables of XDG
'XDG_SESSION_CLASS', 'XDG_SESSION_ID', 'XDG_SESSION_TYPE',
# Session variables of GNU Screen
'STY', 'WINDOW',
# Session variables of interactive shell plugins
'ATUIN_SESSION', 'ATUIN_HISTORY_ID',
'BLE_SESSION_ID', '_ble_util_fdlist_cloexec', '_ble_util_fdvars_export',
'_GITSTATUS_CLIENT_PID', '_GITSTATUS_REQ_FD', '_GITSTATUS_RESP_FD', 'GITSTATUS_DAEMON_PID',
'MCFLY_SESSION_ID',
'STARSHIP_SESSION_KEY',
} and not k.startswith((
# conda state env vars for multi-level virtual environments
'CONDA_PREFIX_',
Expand Down

0 comments on commit f7d804e

Please sign in to comment.