Skip to content

LLM Wiki is a cross-platform desktop application that turns your documents into an organized, interlinked knowledge base — automatically. Instead of traditional RAG (retrieve-and-answer from scratch every time), the LLM incrementally builds and maintains a persistent wiki from your sources。

TypeScript

fix: fallback to /bin/sh

gqh06d5f18a7b68
diff --git a/src-tauri/src/commands/claude_cli.rs b/src-tauri/src/commands/claude_cli.rs
index b2376be5..8b6610c1 100644
--- a/src-tauri/src/commands/claude_cli.rs
+++ b/src-tauri/src/commands/claude_cli.rs
@@ -119,7 +119,7 @@ fn claude_content_blocks(content: &ClaudeContent) -> Vec<serde_json::Value> {
/// caller can fall back to the process-level PATH.
#[cfg(not(windows))]
fn shell_path() -> Option<String> {
- let shell = std::env::var("SHELL").unwrap_or_else(|_| "/bin/zsh".to_string());
+ let shell = std::env::var("SHELL").unwrap_or_else(|_| "/bin/sh".to_string());
// `-ilc` = interactive + login so both profile and rc files run,
// picking up version-manager init scripts. We print a unique
// marker so we can find our line even if the shell prints motd /