Support termux on android
This commit is contained in:
parent
a4ae068bf8
commit
ffbd37842c
1 changed files with 5 additions and 0 deletions
|
@ -1,2 +1,7 @@
|
|||
;; Disable package.el in favor of straight.el
|
||||
(setq package-enable-at-startup nil)
|
||||
|
||||
(when (equal system-type 'android)
|
||||
(setenv "PATH" (format "%s:%s" "/data/data/com.termux/files/usr/bin"
|
||||
(getenv "PATH")))
|
||||
(push "/data/data/com.termux/files/usr/bin" exec-path))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue