zsh scp completion of remote files doesn't work when running SSHHelper Running SSHelper is a great way to access files on your phone. But completion of remote files (scp and rsync) using zsh doesn't work though. While using sshfs is a workaround but sometimes you just want to pull/push a quick file, it's not really satisfying.

Where lies the culprit, and how can I get file completion working properly via zsh?
The culprit is android's crippled ls command. Zsh's completion run ls -d1FL which /system/bin/ls doesn't understand. 

A way to fix this is to edit /data/data/com.arachnoid.sshelper/home/.ssh/environment such that /data/user/0/com.arachnoid.sshelper/bin is the first entry in PATH. (SSHelper ships with a more complete ls)

Note that SSHelper might rewrite this file on updates?