[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: $HOME/.. great for Android 8 and Termux

From: Michael Albinus
Subject: Re: $HOME/.. great for Android 8 and Termux
Date: Sun, 29 Dec 2019 13:22:03 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

積丹尼 Dan Jacobson <address@hidden> writes:

Hi Dan,

> So as Termux sets HOME=/data/data/com.termux/files/home
> we can use its $HOME as a keystone to access the rest of its tree.
> (However other apps' internal directory structure will probably differ,
> so we can't just assume $HOME/../bin, $HOME/../usr/tmp .)
> Anyway, we have avoided hardwiring full paths by instead grabbing on to
> items from the environment. So the user could first do
> $ ssh machine env
> to see what he could grab on to, to do something similar in his .emacs.

That's why it is recommended to use

(add-to-list 'tramp-remote-path 'tramp-own-remote-path)

This should add app specific settings to the $PATH. If not, the user is
free to apply the settings she likes.

Best regards, Michael.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]