[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: open config.scm with sudo and gedit or emacs
From: |
Bruno Victal |
Subject: |
Re: open config.scm with sudo and gedit or emacs |
Date: |
Sat, 11 Mar 2023 11:03:49 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 |
Hi Gottfried,
On 2023-03-11 10:33, Gottfried wrote:
> Hi,
>
> because of my limited knowledge
> when opening my config.scm file with sudo
> I can do it only with nano
> But nano doesn’t show the matching parenthesis.
>
> 1.
> I would like to open my config.scm file with emacs or gedit,
> because both show the matching parenthesis.
Change the EDITOR environment variable, i.e.
$ export EDITOR=emacs
>
> How can I do that?
> .....................................................
> 2.
> In emacs it opens the file only in read-able mode.
> How can I change this?
Use sudoedit.
>
> 4.
> Are there commands on the command line
> to open my config.scm file with emacs/gedit in sudo mode?
> ....................................................
EDITOR=emacs sudoedit config.scm
Cheers,
Bruno
- open config.scm with sudo and gedit or emacs, Gottfried, 2023/03/11
- Re: open config.scm with sudo and gedit or emacs,
Bruno Victal <=
- Re: open config.scm with sudo and gedit or emacs, Sergiu Ivanov, 2023/03/11
- Re: open config.scm with sudo and gedit or emacs, Kyle, 2023/03/11
- Re: open config.scm with sudo and gedit or emacs, SeerLite, 2023/03/11
- Re: open config.scm with sudo and gedit or emacs, Sergiu Ivanov, 2023/03/12
- Re: open config.scm with sudo and gedit or emacs, Luis Felipe, 2023/03/12
- Re: open config.scm with sudo and gedit or emacs, Sergiu Ivanov, 2023/03/12
- Re: open config.scm with sudo and gedit or emacs, Felix Lechner, 2023/03/12
Re: open config.scm with sudo and gedit or emacs, Thanos Apollo, 2023/03/12