change formatting
input examples are now given as ```bash input $ARG1 ``` While outputs use md's '> ' sign as a quote.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: "editors"
|
||||
title: "$EDITOR"
|
||||
tags: [ "Documentation", "System" ]
|
||||
---
|
||||
The System's default text editor can be defined within /etc/profile. It's given the variable `EDITOR`.
|
||||
@@ -16,9 +16,12 @@ export VISUAL=$EDITOR
|
||||
|
||||
Then reload that profile with:
|
||||
|
||||
> source /etc/profile
|
||||
```bash
|
||||
source /etc/profile
|
||||
```
|
||||
|
||||
If nano still pops up:
|
||||
|
||||
> sudo ln -sf $(which vim) $(which nano)
|
||||
If you want to ensure `nano` never appears again:
|
||||
|
||||
```bash
|
||||
sudo ln -sf $(which vim) $(which nano)
|
||||
```
|
||||
|
Reference in New Issue
Block a user