[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#6226: Please add a customizable option to NOT call tramp for every s
From: |
Michael Albinus |
Subject: |
bug#6226: Please add a customizable option to NOT call tramp for every sudo command |
Date: |
Wed, 26 May 2010 05:26:19 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> fmakunbound does the job, yes. But i just think providing a defcustom
>> interface
>
> Agreed.
I don't know, whether another defcustom is needed. Eshell gives you
already configuration hooks, for example:
(add-hook 'eshell-named-command-hook
(lambda (command args)
(if (member command '("su" "sudo"))
(throw 'eshell-replace-command
(eshell-parse-command (concat "*" command) args)))))
Alternatively, one could disable the alias commands interactively in
eshell, without further configuration:
~ $ fmakunbound (quote eshell/su)
~ $ fmakunbound (quote eshell/sudo)
I will document both approches in eshell.texi.
> Stefan
Best regards, Michael.
- bug#6226: Please add a customizable option to NOT call tramp for every sudo command, Ken Hori, 2010/05/20
- bug#6226: Please add a customizable option to NOT call tramp for every sudo command, Michael Albinus, 2010/05/20
- bug#6226: Please add a customizable option to NOT call tramp for every sudo command, Ken Hori, 2010/05/21
- bug#6226: Please add a customizable option to NOT call tramp for every sudo command, Michael Albinus, 2010/05/22
- bug#6226: Please add a customizable option to NOT call tramp for every sudo command, Stefan Monnier, 2010/05/23
- bug#6226: Please add a customizable option to NOT call tramp for every sudo command, Michael Albinus, 2010/05/23
- bug#6226: Please add a customizable option to NOT call tramp for every sudo command, Juanma Barranquero, 2010/05/23
- bug#6226: Please add a customizable option to NOT call tramp for every sudo command, Ken Hori, 2010/05/24
- bug#6226: Please add a customizable option to NOT call tramp for every sudo command, Stefan Monnier, 2010/05/24
- bug#6226: Please add a customizable option to NOT call tramp for every sudo command,
Michael Albinus <=
- bug#6226: Please add a customizable option to NOT call tramp for every sudo command, Thierry Volpiatto, 2010/05/26
- bug#6226: Please add a customizable option to NOT call tramp for every sudo command, Michael Albinus, 2010/05/26
- bug#6226: Please add a customizable option to NOT call tramp for every sudo command, Stefan Monnier, 2010/05/26