You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After I set hx as the default editor in zsh, I got panic when trying to edit the command with ctrl-x ctrl-e
Reproduction Steps
I tried this:
export EDITOR='hx' in ~/.zshrc
ctrl-x ctrl-e in my terminal
I expected this to happen:
Helix opened, put what I already typed in the terminal into buffer.
Instead, this happened:
➜ ~ thread 'main' panicked at 'reader source not set', /Users/brew/Library/Caches/Homebrew/cargo_cache/registry/src/github.com-1ecc6299db9ec823/crossterm-0.26.1/src/event/read.rs:38:30
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Helix log
~/.cache/helix/helix.log
2023-04-13T13:34:40.867 helix_vcs [ERROR] Error {
context: "failed to open git repo",
source: Discover(
NoGitRepository {
path: "/private/tmp",
},
),
}
2023-04-13T13:34:40.867 helix_vcs [ERROR] failed to open diff base for /private/tmp/zshtIXKYX
2023-04-13T13:34:40.867 helix_vcs [ERROR] Error {
context: "failed to open git repo",
source: Discover(
NoGitRepository {
path: "/private/tmp",
},
),
}
2023-04-13T13:34:40.867 helix_vcs [ERROR] failed to obtain current head name for /private/tmp/zshtIXKYX```
</details>
### Platform
macOS
### Terminal Emulator
wezterm
### Helix Version
helix 23.03
The text was updated successfully, but these errors were encountered:
Summary
After I set
hx
as the default editor inzsh
, I got panic when trying to edit the command with ctrl-x ctrl-eReproduction Steps
I tried this:
~/.zshrc
I expected this to happen:
Helix opened, put what I already typed in the terminal into buffer.
Instead, this happened:
Helix log
~/.cache/helix/helix.log
The text was updated successfully, but these errors were encountered: