gitlog trap EXIT (#59)
gitlog trap EXIT (#59)

* gitlog trap EXIT

Catches exceptions (`set -e` / `errexit`) and normal exits.

Add clear before commands that may fail for a more pleasant read of error output.

Add clear function.

* gitlog quote inside expansion

```
In script line 710:
                _rest="${_rest##$_ansi}"
                                ^----^ SC2295 (info): Expansions inside ${..} need to be quoted separately, otherwise they match as patterns.

Did you mean:
                _rest="${_rest##"$_ansi"}"

For more information:
  https://www.shellcheck.net/wiki/SC2295 -- Expansions inside ${..} need to b...
```
tingstad/dotfiles,tingstad/dotfiles