積丹尼 Dan Jacobson <[email protected]> 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