From 36537eb7bc7c0b35b65328c4d99bae6b73f1757c Mon Sep 17 00:00:00 2001 From: rush Date: Mon, 22 Jun 2026 16:04:56 -0400 Subject: [PATCH] Add Path to Rust for Termux Needed for jj on android, since it had to be built from source. --- early-init.el | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/early-init.el b/early-init.el index 565a0b5..31a8c67 100644 --- a/early-init.el +++ b/early-init.el @@ -19,9 +19,11 @@ (setq gc-cons-threshold 800000))) (when (eq system-type 'android) - (let ((termux-path "/data/data/com.termux/files/usr/bin")) - (setenv "PATH" (format "%s:%s" termux-path (getenv "PATH"))) - (push termux-path exec-path))) + (let ((termux-path "/data/data/com.termux/files/usr/bin") + (rust-path "/data/data/com.termux/files/home/.cargo/bin")) + (setenv "PATH" (format "%s:%s:%s" termux-path rust-path (getenv "PATH"))) + (push termux-path exec-path) + (push rust-path exec-path))) (setq inhibit-startup-screen t inhibit-startup-buffer-menu t -- 2.39.5