Fixed default shell

This commit is contained in:
Mikayla Maki 2022-07-07 12:29:49 -07:00
parent bc306ef8ed
commit 240f3d8754
3 changed files with 2 additions and 7 deletions

View File

@ -1,5 +1,5 @@
use alacritty_terminal::{
config::{Config, Program, PtyConfig},
config::{Config, PtyConfig},
event::{Event as AlacTermEvent, EventListener, Notify},
event_loop::{EventLoop, Msg, Notifier},
grid::Scroll,
@ -126,7 +126,7 @@ impl Terminal {
.detach();
let pty_config = PtyConfig {
shell: Some(Program::Just("zsh".to_string())),
shell: None, //Use the users default shell
working_directory,
hold: false,
};

View File

@ -143,10 +143,6 @@ impl Element for TerminalEl {
let content = term.renderable_content();
//We have a 'SelectionRange' struct to work with,
//Allows us to query start, end, and contains
//content.selection.unwrap()
let layout_lines = layout_lines(
content.display_iter,
&text_style,

View File

@ -5,7 +5,6 @@
"requires": true,
"packages": {
"": {
"name": "styles",
"version": "1.0.0",
"license": "ISC",
"dependencies": {