mirror of
https://github.com/dnscrypt/dnscrypt-server-docker
synced 2024-10-30 21:20:12 +00:00
Updated Using nano (markdown)
parent
dae71607aa
commit
3d70ea5a95
@ -4,7 +4,7 @@ Start a Bash session in your container
|
||||
|
||||
and run the command
|
||||
|
||||
`export TERM=vt220`
|
||||
`export TERM=xterm`
|
||||
|
||||
Now you can start and use nano
|
||||
|
||||
@ -12,4 +12,22 @@ Now you can start and use nano
|
||||
|
||||
As well as `jed` if you are more familiar with Emacs-like bindings.
|
||||
|
||||
`jed <file>`
|
||||
`jed <file>`
|
||||
|
||||
<br />
|
||||
To make this setting permanent edit the _.bashrc_ file in the container
|
||||
|
||||
```
|
||||
cd /root
|
||||
vim .bashrc
|
||||
```
|
||||
Insert the line
|
||||
|
||||
`export TERM=xterm`
|
||||
|
||||
before the comment
|
||||
|
||||
`# set a fancy prompt (non-color, unless we know we "want" color)`
|
||||
|
||||
Your next Bash session has colored output in the command line interface (e.g. with the ls command) and nano starts without fiddling.
|
||||
|
Loading…
Reference in New Issue
Block a user