misc: cleanup

This commit is contained in:
Dylan Araps
2018-06-21 18:16:25 +10:00
parent 955370b5ce
commit cf243bc86b
2 changed files with 6 additions and 6 deletions

View File

@@ -20,14 +20,14 @@ trap 'printf \\e[2J\\e[H\\e[m' EXIT
trap '' INT
```
## React to window resize.
## React to window resize
```shell
# Call a function on window resize.
trap 'code_here' SIGWINCH
```
## Do something before every command.
## Do something before every command
```shell
trap 'code_here' DEBUG