Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Add plus and dollar sign to terminal paths (#8321)

Chase Bellisimed1b58601a163
diff --git a/crates/terminal/src/terminal.rs b/crates/terminal/src/terminal.rs
index 4e86c204ec4..c396bf6d1fb 100644
--- a/crates/terminal/src/terminal.rs
+++ b/crates/terminal/src/terminal.rs
@@ -417,7 +417,7 @@ impl TerminalBuilder {
let _io_thread = event_loop.spawn(); // DANGER
let url_regex = RegexSearch::new(r#"(ipfs:|ipns:|magnet:|mailto:|gemini://|gopher://|https://|http://|news:|file://|git://|ssh:|ftp://)[^\u{0000}-\u{001F}\u{007F}-\u{009F}<>"\s{-}\^⟨⟩`]+"#).unwrap();
- let word_regex = RegexSearch::new(r#"[\w.\[\]:/@\-~]+"#).unwrap();
+ let word_regex = RegexSearch::new(r#"[\$\+\w.\[\]:/@\-~]+"#).unwrap();
let terminal = Terminal {
task,