mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-10 05:37:29 +03:00
Fixed default shell
This commit is contained in:
parent
bc306ef8ed
commit
240f3d8754
@ -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,
|
||||
};
|
||||
|
@ -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,
|
||||
|
1
styles/package-lock.json
generated
1
styles/package-lock.json
generated
@ -5,7 +5,6 @@
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "styles",
|
||||
"version": "1.0.0",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
|
Loading…
Reference in New Issue
Block a user