[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: su: or sudo: without dired
From: |
Bruno Tavernier |
Subject: |
Re: su: or sudo: without dired |
Date: |
Thu, 07 Oct 2010 13:30:49 +0900 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) |
Hello,
>> When this is the first time that I login, let's in root, after inputing
>> the password tramp(?) opens a dired buffer. Later on, /su: or /sudo:
>> don't call dired and the minibuffer is used.
>
> How do you open it exactly? I suspect "C-x f /sudo:host: <ENTER>" .
> This is like opening a directory; dired is called therefore.
I see. Indeed, "C-x f /sudo:host:" is used to open the
connection. (bound to ido-find-file)
>> Is there a way to *not* open dired at all? I search the info pages and
>> the web but nothing came out.
>
> What about "C-x f /sudo:host:./ <TAB>" ?
Your suggestion works perfectly for the regular find-file function.
With ido-find-file "C-x f /sudo:host:/" does the job.
Thank you very much.
--
Bruno