]> git.earman.xyz Git - emacsinit.git/commitdiff
Add path for termux on android
authorrearman <rearman@r717.net>
Thu, 11 Jun 2026 14:50:10 +0000 (10:50 -0400)
committerrearman <rearman@r717.net>
Thu, 11 Jun 2026 14:50:10 +0000 (10:50 -0400)
early-init.el

index 81450d71231cb0d97c3c7f13ef79e6f213f52b10..b9bc521b5406fec23f8df80cbe9a05dd88611d9e 100644 (file)
          (lambda ()
            (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))
+    (push termux-path exec-path)))
+
 (setq inhibit-startup-screen t
       inhibit-startup-buffer-menu t
       server-client-instructions nil