Skip to content

pacman zsh-completions does not work with kitty #6771

Closed
@YingchangLiu

Description

@YingchangLiu

Describe the bug
'pacman -S' + TAB won't show packages when using kitty and zsh, but it works in bash-completions or other terminal.

To Reproduce
Steps to reproduce the behavior:

  1. start kitty
  2. start zsh
  3. input pacman -S and press 'TAB'
  4. output: Sorry, no matches for: `file'
    Screenshots
    If applicable, add screenshots to help explain your problem.

Environment details

kitty 0.30.1 created by Kovid Goyal
Linux archlegion 6.5.9-arch2-1 #1 SMP PREEMPT_DYNAMIC Thu, 26 Oct 2023 00:52:20 +0000 x86_64
Arch Linux 6.5.9-arch2-1 (/dev/tty)

DISTRIB_ID="Arch"
DISTRIB_RELEASE="rolling"
DISTRIB_DESCRIPTION="Arch Linux"
Running under: Wayland
Frozen: False
Paths:
  kitty: /usr/bin/kitty
  base dir: /usr/lib/kitty
  extensions dir: /usr/lib/kitty/kitty
  system shell: /bin/zsh
Loaded config files:
  /home/kelen/.config/kitty/kitty.conf

Config options different from defaults:
cursor_shape               3
cursor_underline_thickness 1.0
disable_ligatures          2
enable_audio_bell          False
font_family                Cartograph CF Italic
font_size                  12.0
window_padding_width       FloatEdges(left=5.0, top=5.0, right=5.0, bottom=5.0)
Colors:
	background                 #1a1b26   
	color0                     #414868   
	color1                     #f7768e   
	color10                    #73daca   
	color11                    #e0af68   
	color12                    #7aa2f7   
	color13                    #bb9af7   
	color14                    #7dcfff   
	color15                    #c0caf5   
	color2                     #73daca   
	color3                     #e0af68   
	color4                     #7aa2f7   
	color5                     #bb9af7   
	color6                     #7dcfff   
	color7                     #c0caf5   
	color8                     #414868   
	color9                     #f7768e   
	cursor                     #c0caf5   
	cursor_text_color          #1a1b26   
	foreground                 #a9b1d6   
	selection_background       #28344a   
	selection_foreground       #7aa2f7   
	url_color                  #ffffff   

Important environment variables seen by the kitty process:
	PATH                                /usr/local/sbin:/usr/local/bin:/usr/bin:/opt/cuda/bin:/opt/cuda/nsight_compute:/opt/cuda/nsight_systems/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/opt/cuda/bin:~/opt/cwp/bin:~/opt/sac/bin:~/opt/ahay/bin:~/opt/SOFI2D/bin:~/opt/SOFI3D/bin:~/opt/IFOS2D/bin:~/opt/IFOS3D/bin:~/opt/locflow/bin:~/dotfile/script:/opt/cuda/bin:~/opt/cwp/bin:~/opt/sac/bin:~/opt/ahay/bin:~/opt/SOFI2D/bin:~/opt/SOFI3D/bin:~/opt/IFOS2D/bin:~/opt/IFOS3D/bin:~/opt/locflow/bin:~/dotfile/script:/opt/cuda/bin:~/opt/cwp/bin:~/opt/sac/bin:~/opt/ahay/bin:~/opt/SOFI2D/bin:~/opt/SOFI3D/bin:~/opt/IFOS2D/bin:~/opt/IFOS3D/bin:~/opt/locflow/bin:~/dotfile/script
	LANG                                en_US.UTF-8
	EDITOR                              vim
	SHELL                               /bin/zsh
	GLFW_IM_MODULE                      fcitx
	DISPLAY                             :0
	WAYLAND_DISPLAY                     wayland-1
	USER                                kelen
	XCURSOR_SIZE                        24
	LC_ALL                              en_US.UTF-8
	XDG_BACKEND                         wayland
	XDG_CURRENT_DESKTOP                 Hyprland
	XDG_RUNTIME_DIR                     /run/user/1000
	XDG_SEAT                            seat0
	XDG_SESSION_CLASS                   user
	XDG_SESSION_DESKTOP                 Hyprland
	XDG_SESSION_ID                      6
	XDG_SESSION_TYPE                    wayland
	XDG_VTNR                            1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions