Describe the bug
In 0.24.3, there is something wrong with shell_integration script.
If I disable shell_integration, bash reads history from .bash_history file.
When shell_integration is in use bash reads history from .sh_history.
I guess it has something to do with bash being started in posix mode.
To Reproduce
Steps to reproduce the behavior:
Start kitty, echo $HISTFILE.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment details
kitty 0.24.3 created by Kovid Goyal
Linux arch 5.16.11-arch1-1 #1 SMP PREEMPT Thu, 24 Feb 2022 02:18:20 +0000 x86_64
Arch Linux 5.16.11-arch1-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/bash
Loaded config files:
/home/blaz/.config/kitty/kitty.conf
Config options different from defaults:
background_opacity 0.5
enable_audio_bell False
open_url_with ['qutebrowser']
remember_window_size False
shell_integration frozenset({'disabled'})
Important environment variables seen by the kitty process:
PATH /home/blaz/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/>
LANG en_US.UTF-8
VISUAL vim
EDITOR vim
SHELL /bin/bash
DISPLAY :0
WAYLAND_DISPLAY wayland-1
USER blaz
XCURSOR_SIZE 24
XDG_DATA_HOME /home/blaz/.local/share
XDG_CONFIG_HOME /home/blaz/.config
XDG_SEAT seat0
XDG_SESSION_TYPE wayland
XDG_CACHE_HOME /home/blaz/.cache
XDG_SESSION_CLASS user
XDG_VTNR 1
XDG_SESSION_ID 3
XDG_RUNTIME_DIR /run/user/1000
Additional context
Describe the bug
In 0.24.3, there is something wrong with shell_integration script.
If I disable shell_integration, bash reads history from .bash_history file.
When shell_integration is in use bash reads history from .sh_history.
I guess it has something to do with bash being started in posix mode.
To Reproduce
Steps to reproduce the behavior:
Start kitty, echo $HISTFILE.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment details
Additional context