Julian Prein b38e01c72a zsh:funcs:finddup: Support filenames with spaces
Previously when filenames contained spaces, the function would break as
`awk {print $2,$1}` would only print a part of the filename.

The field swap was used as a workaround so that `uniq` only compares the
sizes, and `uniq` unfortunately only has a flag to **skip** fields.

Fix this issue by using a short awk script that mimics `uniq` but only
with the first field (i.e. the size).

My awk foo is unfortunately not very good, and that is why the one-liner
prints out the first duplicated line multiple time. The `sort -u` pipe
afterwards gets rid of those.
2022-12-28 01:52:56 +01:00
2022-06-23 23:58:54 +02:00
2022-09-19 14:23:47 +02:00
2021-04-12 21:01:31 +02:00

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 my fork of st 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 and .config/vim.

Installation

The repository content can be installed via dotbot. All existing files which would be overridden 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
Description
No description provided
Readme MIT 3 MiB
Languages
Shell 79.7%
Vim Script 18.7%
JavaScript 0.6%
CSS 0.6%
Python 0.3%