Skip to content

Commit

Permalink
colored output
Browse files Browse the repository at this point in the history
  • Loading branch information
voldemoriarty committed May 28, 2020
1 parent 0b02ac6 commit 5bcd1b3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,10 @@ Porting to other boards should be trivial.
chmod 1777 /tmp
```
- Install `init` package
- Then run `ln -s /lib/systemd/system/[email protected] /etc/systemd/system/getty.target.wants/[email protected]` to get login prompt on serial port
- Then run `ln -s /lib/systemd/system/[email protected] /etc/systemd/system/getty.target.wants/[email protected]` to get login prompt on serial port
- To get coloured prompt add the following lines after the first case statement in `.bashrc`

```bash
export TERM=xterm-256color
export PS1="\[\033[1;38;5;196m\]\h\[\033[1;48;5;11;38;5;17m\]\u\[\033[0;32m\]\w\[\033[0m\]: "
```

0 comments on commit 5bcd1b3

Please sign in to comment.