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 doas support in script/linux (#8788)

feelamee1442fcb49745
diff --git a/script/linux b/script/linux
index ea248260adb..a35918ce732 100755
--- a/script/linux
+++ b/script/linux
@@ -1,7 +1,7 @@
#!/usr/bin/bash -e
# if sudo is not installed, define an empty alias
-maysudo=$(command -v sudo || true)
+maysudo=$(command -v sudo || command -v doas || true)
# Ubuntu, Debian, etc.
# https://packages.ubuntu.com/
diff --git a/typos.toml b/typos.toml
index af70fb77c74..91e95e35e9b 100644
--- a/typos.toml
+++ b/typos.toml
@@ -26,6 +26,7 @@ extend-ignore-re = [
"COLUMN enviroment",
# Typo in ClickHouse column name.
# crates/collab/src/api/events.rs
- "rename = \"sesssion_id\""
+ "rename = \"sesssion_id\"",
+ "doas",
]
check-filename = true