Browse Source

Updated regexp for android config to match scp in addition to ssh

master
Raphael Roberts 6 years ago
parent
commit
2e7ec7f37a
  1. 2
      settings.org

2
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

Loading…
Cancel
Save