Fish + starship does not play well with iTerm2 reuse previous's Sessions directory
Thanks for filing an issue! Please answer the questions below so I can help you.
-
iTerm2 version: 3.4.19
-
OS version: mac os 13.5 (22G74)
-
Attach ~/Library/Preferences/com.googlecode.iterm2.plist here (drag-drop from finder into this window)
-
Attach a debug log, if possible. Instructions at https://iterm2.com/debuglog
-
Attach a screen capture video if it would make the reproduction steps clearer.
-
Are you reporting a performance issue, excessive CPU usage, or a hang? Please attach a sample. Instructions at https://gitlab.com/gnachman/iterm2/wikis/HowToSample
-
Are you reporting a crash? Please attach the crash log. Instructions at https://gitlab.com/gnachman/iterm2/wikis/crash-logs
-
Are you reporting excessive memory usage? Please attach a heap analysis: https://gitlab.com/gnachman/iterm2/wikis/heapshot
PLEASE ATTACH YOUR PLIST FILE FOR BUG REPORTS! Seriously! I'll probably ask you for it if you don’t.
Detailed steps to reproduce the problem: 1. 2. 3.
- use fish
- enable 'reuse previous's Sessions directory' option
- works
- run 'builtin functions -e fish_mode_prompt' in your cli
- does not work anymore
you can find that behaviour in the video. The command builtin functions -e fish_mode_prompt
is part of starship, and I was able to debug it to this line. Could you help me resolve this? I would love to use this feature! any input welcome (:
What happened:
directory was not restored
What should have happened:
directory should have been restored