-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
Description
Describe the bug
After upgrading from 0.36.1 to 0.36.2, when starting kitty with kitty --session ~/.config/kitty/ivan.session all dirs in tabs and windows are set to ~. In 0.36.1 they were set to whatever was written in the session file. My session file is given in the Additional context below 👇
To Reproduce
Steps to reproduce the behavior:
- Create a session file with the contents as given in the Additional context below
- Open Terminal
- Run
kitty --session ~/.config/kitty/ivan.session - Kitty opens all tabs and windows but all dirs are set to
~
Environment details
kitty 0.36.2 (15ac33a058) created by Kovid Goyal
Darwin CFWS-0177 23.6.0 Darwin Kernel Version 23.6.0: Mon Jul 29 21:14:30 PDT 2024; root:xnu-10063.141.2~1/RELEASE_ARM64_T6030 arm64
ProductName: macOS ProductVersion: 14.6.1 BuildVersion: 23G93
OpenGL: '4.1 Metal - 88.1' Detected version: 4.1
Frozen: True
Fonts:
medium: Menlo-Regular: /System/Library/Fonts/Menlo.ttc
Features: ()
bold: Menlo-Bold: /System/Library/Fonts/Menlo.ttc
Features: ()
italic: Menlo-Italic: /System/Library/Fonts/Menlo.ttc
Features: ()
bi: Menlo-BoldItalic: /System/Library/Fonts/Menlo.ttc
Features: ()
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/ivanmilosavljevic/.config/kitty/kitty.conf
Config options different from defaults:
active_tab_font_style (True, False)
allow_remote_control yes
copy_on_select clipboard
cursor_blink_interval (0.0, kitty.options.utils.EasingFunction(), kitty.options.utils.EasingFunction())
draw_minimal_borders False
font_size 13.0
inactive_text_alpha 0.7
initial_window_height (60, 'cells')
initial_window_width (160, 'cells')
input_delay 4
remember_window_size False
shell_integration frozenset({'no-cursor'})
tab_bar_style separator
tab_fade (0.5, 1.0)
tab_title_template {index}: {title}
Added mouse actions:
cmd+left press grabbed → mouse_click_url
cmd+left press ungrabbed → mouse_click_url
Added shortcuts:
cmd+backspace → send_text application \x15
cmd+left → send_text application \x1bOH
cmd+right → send_text application \x1bOF
shift+backspace → send_text application \x1b\x5b1\x3b4R
shift+cmd+backspace → send_text application \x0b
shift+cmd+left → move_window_forward
shift+cmd+right → move_window_backward
shift+f1 → copy_to_buffer a
shift+f2 → paste_from_buffer a
Removed shortcuts:
cmd+, → edit_config_file
cmd+h → hide_macos_app
cmd+k → clear_terminal to_cursor active
cmd+m → minimize_macos_window
cmd+n → new_os_window
cmd+q → quit
cmd+w → close_tab
ctrl+cmd+, → load_config_file
ctrl+cmd+f → toggle_fullscreen
kitty_mod+enter → new_window
kitty_mod+t → new_tab
opt+cmd+h → hide_macos_other_apps
opt+cmd+r → clear_terminal reset active
opt+cmd+s → toggle_macos_secure_keyboard_entry
shift+cmd+/ → open_url https://sw.kovidgoyal.net/kitty/
shift+cmd+d → close_window
shift+cmd+w → close_os_window
Changed shortcuts:
cmd+1 → goto_tab 1
cmd+2 → goto_tab 2
cmd+3 → goto_tab 3
cmd+4 → goto_tab 4
cmd+5 → goto_tab 5
cmd+6 → goto_tab 6
cmd+7 → goto_tab 7
cmd+8 → goto_tab 8
cmd+9 → goto_tab 9
cmd+enter → launch --cwd=current --type=tab
cmd+t → launch --cwd=~ --type=tab
Colors:
active_tab_foreground #006600
Important environment variables seen by the kitty process:
PATH /Applications/kitty.app/Contents/MacOS:/Users/ivanmilosavljevic/.rd/bin:/Users/ivanmilosavljevic/.nvm/versions/node/v18.18.2/bin:/Users/ivanmilosavljevic/.jenv/bin:/Users/ivanmilosavljevic/.jenv/shims:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/usr/local/MacGPG2/bin:/Applications/Wireshark.app/Contents/MacOS:/Users/ivanmilosavljevic/Library/Application Support/JetBrains/Toolbox/scripts
LANG en_US.UTF-8
EDITOR vim
SHELL /bin/zsh
USER ivanmilosavljevic
LC_ALL en_US.UTF-8
LC_CTYPE UTF-8
Additional context
Session file:
# tab 1 - main repo
layout tall
# Set the working directory for windows in the current tab
cd ~/src/repos/main
# Create a window and run the specified command in it
title main
launch
# tab 2 - scripts
new_tab scripts
cd ~/src/scripts
launch
# tab 3 - jrnl
new_tab jrnl
cd ~
launch
# tab 4 - home
new_tab home
cd ~
launch
# tab 5 - clean_repos
new_tab clean_repos
cd ~/src/clean_repos/
launch
## 2nd OS window
new_os_window
# tab 1 - Bugs
layout tall
cd ~/Documents/Bugs
launch
# tab 2 - src
new_tab src
cd ~/src/pony-school
launch
Reactions are currently unavailable

