Re: tramp does not see bash, inotify-tools on my android/termux
Gregor Zattler <[email protected]> Thu, 21 Nov 2024 09:41:22 +0100
| Newsgroups | gmane.emacs.tramp |
|---|---|
| Message-ID | <[email protected]> |
Hi Michael, * Michael Albinus <[email protected]> [2024-11-20; 16:44 +01]: > Gregor Zattler <[email protected]> writes: >> Is the string "android" in this setting : >> >> (connection-local-set-profiles >> '(:application tramp :machine "android") >> 'tramp-connection-local-termux-profile) >> >> a regexp? > > No. It is the host name (plus port, if specified). thanks. > (dolist (host '("android" "android.lan" "android.lan#2222")) > (connection-local-set-profiles > `(:application tramp :machine ,host) > 'tramp-connection-local-termux-profile)) > > Untested, of course :-) Works very well. Thanks again. Ciao; Gregor -- -... --- .-. . -.. ..--.. ...-.-