You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I'm recently switched to counsel and I have a strange issue with counsel-find-file. I often use Tramp mode to edit files as root via su:
Emacs is open at $HOME, so there's no Tramp in use. Press C-x C-f, prompt is ~/
Type //
Type su://
Enter password, then I get this prompt /su:user@host:/
Proceed with path to a file, e.g. /su:user@host:/etc/hosts and hit RET to open the file.
Now I need to open another file as a regular user. Press C-x C-f, now the prompt looks like this: /su:user@host:/etc/. And this is where problem begins: I cannot remove /su:user@host:/etc/ with Backspace or with //. Only pressing ~~ helps, but then I am at the $HOME.
Is this expected behaviour?
The text was updated successfully, but these errors were encountered:
Maybe pressing /// can jump to the root of localhost? I feel like that would be intuitive enough for people who want to do this to discover it by accident.
Hi!
I'm recently switched to counsel and I have a strange issue with
counsel-find-file
. I often use Tramp mode to edit files as root viasu
:$HOME
, so there's no Tramp in use. PressC-x C-f
, prompt is~/
//
su://
/su:user@host:/
/su:user@host:/etc/hosts
and hitRET
to open the file.C-x C-f
, now the prompt looks like this:/su:user@host:/etc/
. And this is where problem begins: I cannot remove/su:user@host:/etc/
withBackspace
or with//
. Only pressing~~
helps, but then I am at the$HOME
.Is this expected behaviour?
The text was updated successfully, but these errors were encountered: