Actually set environment variables
This commit is contained in:
parent
d6ccd02271
commit
9f46f2f32c
|
@ -69,11 +69,7 @@ impl App {
|
|||
|
||||
let (sender, term_events) = channel();
|
||||
|
||||
let mut env = HashMap::<String, String>::default();
|
||||
env.insert("TERM".to_string(), "xterm".to_string());
|
||||
|
||||
let term_config = alacritty_terminal::config::Config {
|
||||
env,
|
||||
pty_config: PtyConfig {
|
||||
shell: Some(alacritty_terminal::config::Program::Just(
|
||||
"/usr/bin/fish".to_string(),
|
||||
|
@ -83,6 +79,8 @@ impl App {
|
|||
},
|
||||
..Default::default()
|
||||
};
|
||||
|
||||
alacritty_terminal::tty::setup_env(&term_config);
|
||||
|
||||
let term_listener = TermListener::new(sender.clone());
|
||||
|
||||
|
|
Loading…
Reference in New Issue