Not using versioning on your configuration files and editing them with Vim?
Use Vim’s backup option to automatically keep a copy of past versions. To put in your ~/.vimrc:
"Turn on backup option
set backup| ! ----------------------------------------------------------------------------- | |
| ! File: gruvbox-dark.xresources | |
| ! Description: Retro groove colorscheme generalized | |
| ! Author: morhetz <morhetz@gmail.com> | |
| ! Source: https://github.com/morhetz/gruvbox-generalized | |
| ! Last Modified: 6 Sep 2014 | |
| ! ----------------------------------------------------------------------------- | |
| ! hard contrast: *background: #1d2021 | |
| !*background: #1d2021 |
| import net, os, random | |
| const lain_ascii_art = """ | |
| _..--¯¯¯¯--.._ | |
| ,-'' `-. | |
| ,' `. | |
| , \ | |
| / \ | |
| / ′. \ | |
| ' / ││ ; |