For example doing counsel-ag with a buffer containing the file/ssh:myserver:/etc/apt/sources.list will result on a search on /home/username/ on the localhost machine. This also appear when the buffer display a file opened as sudo on the localhost.
The expected behaviour would be to search from the opened file on the remote machine if ag is installed or as sudo if the file was openned as sudo.
For example doing
counsel-agwith a buffer containing the file/ssh:myserver:/etc/apt/sources.listwill result on a search on/home/username/on thelocalhostmachine. This also appear when the buffer display a file opened assudoon thelocalhost.The expected behaviour would be to search from the opened file on the remote machine if
agis installed or assudoif the file was openned assudo.