Skip to content

Unable to get shell integration working correctly (MacOS, Zsh) #4788

Description

@suessflorian

Describe the bug
Prepending prompts with some sort of escape code 133;A and command output with 133;C.

To Reproduce
Steps to reproduce the behavior:

  1. Ctrl+Shift+h or Ctrl+Shift+g
  2. See escape codes prepended.

Recording
https://user-images.githubusercontent.com/23600725/156856048-68ed461a-988c-4ec8-801e-3d4a4252e25d.mov

Environment details

kitty 0.24.3 created by Kovid Goyal
Darwin florians-mbp-2.lan 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
ProductName:	macOS ProductVersion:	12.1 BuildVersion:	21C52
Frozen: True
Paths:
  kitty: /Applications/kitty.app/Contents/MacOS/kitty
  base dir: /Applications/kitty.app/Contents/Resources/kitty
  extensions dir: /Applications/kitty.app/Contents/Resources/Python/lib/kitty-extensions
  system shell: /bin/zsh
Loaded config files:
  /Users/floriansuess/.config/kitty/kitty.conf

Config options different from defaults:

Important environment variables seen by the kitty process:
	PATH                                /Applications/kitty.app/Contents/MacOS:/usr/bin:/bin:/usr/sbin:/sbin
	LANG                                en_NZ.UTF-8
	SHELL                               /bin/zsh
	USER                                floriansuess

Additional Context
Escape codes are not prepended upon shell_integration disabled.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions