diff --git a/settings.org b/settings.org index cd92325..ff6f364 100644 --- a/settings.org +++ b/settings.org @@ -184,7 +184,7 @@ This handy function is a customized ripoff of custom-save-all "remote-shell" (expand-file-name "usr/bin/sh") "remote-process-environment" (append (list (concat "PREFIX=" default-directory "usr")) tramp-remote-process-environment) "remote-path" (append (mapcar 'expand-file-name '("home/.local/bin" "usr/bin" "usr/bin/applets")) '("/sbin" "/vendor/bin" "/system/sbin" "/system/bin" "/system/xbin")))))) - (rlbr/add-config-to-tramp "/ssh:termux.*:" android-config))) + (rlbr/add-config-to-tramp (rx "/" (or "scp" "ssh") (zero-or-one "x") ":" "termux" (zero-or-more any) ":") android-config))) #+END_SRC * Major modes ** C