[0-?] range
Setting LC_ALL=C makes it possible to use the range `[0-?]` instead of splitting it into `[0-9:-?]` as done previously. Without LC_ALL, sed complains with: sed: -e expression #1, char 21: Invalid range end The GNU manual explains this partially, although I still don't quite understand why this range specifically does not work in `en_US.utf8`. See: > Within a bracket expression, a *range expression* consists of two > characters separated by a hyphen. It matches any single character that > sorts between the two characters, inclusive. In the default C locale, > the sorting sequence is the native character order; for example, > `[a-d]` is equivalent to `[abcd]`. Link: https://www.gnu.org/software/sed/manual/sed.html#Character-Classes-and-Bracket-Expressions
My dotfiles
This is a collection of the configuration files and scripts I use for various tools and environments.
Although some files support macOS, most of them assume that they are used on a GNU/Linux system. The systems I use include an Artix, a Manjaro and an Ubuntu installation. All of them running i3wm and the arch-based systems without a DE. I use kitty as terminal, zsh as shell and neovim as text editor.
The repository mimics my $HOME, trying to conform to the XDG Base Directory
Specification as close as possible. An exception is etc/ -> /etc/, as well
as meta/ and some other files in the root of the repository (e.g. this README
or the LICENSE) which are not in my $HOME.
The most interesting files are probably in .config/zsh, .config/vim and .config/tmux.
Installation
The repository content can be installed via dotbot. All existing files which would be overwritten are first packed into an archive for backup (see meta/archive) and then dotbot places symlinks in the appropriate places for the different files and folders in this repository.
To start the installation run:
$ ./meta/install