Skip to content
Snippets Groups Projects
  • CHANTREUX MARC's avatar
    doc WIP · 027c1b89
    CHANTREUX MARC authored
    * more entries in indexes
    * thoughts about core utils
    027c1b89
README 2.60 KiB
title: Dotfiles: my way attempt to ruin your unix experience

This repo is a complete revamp of my former dot files I grown up since the 90's.

I will maintain a rationnale on my [pro site](https://mc.pages.unistra.fr/) but for
now the documentation is really poor.

Any feedback is welcome.

	aliens/	install and update things that are not packaged in debian
	vim/	a part of my vim config
	was_fzy/	manage/update various MRU from zsh and vim
	misc/letsparty	firewall, dhcp and pxe server based on iproute2, nftables and dnsmasq
	misc/trollh	cat rotate (POC with a Arthur Pons)

dash libs to

	bin/TAP.sh write tests and report with https://testanything.org/
	bin/XML.sh create helpers to maintain xml/html code
	bin/WEB.sh XML.sh namespace and other html helpers
	bin/CGI.sh write dynamic web apps

scripts

	bin/rofi-was-read	rofi helper to open MRU pdf, ps or djvu
	bin/tsveverything	wrapper over traditional unix commands so they all process tsv content
	bin/fzysel	interactive multiple selection with fzy (fzf has -m)
	bin/spaarrow
	bin/ripl
	bin/inlay
	bin/apt_basics
	bin/burn_after_reading
	bin/l
	bin/tsveverything
	bin/patreno


helpers written in C

	src/cic.c
	src/dirae.c
	src/xargs_shortenners.c

notes about standard unix tools.

from time to time, people complain about all those dialects and exceptions
which makes unix painful to learn and I have to explain again and again that

* unix concepts are awesome: very useful, very simple
* the shell is the simpler way to deal with them, its syntax is very good
 (pipes, barewords, )
* core utils and conservative POSIX habits is the problem

https://marc.info/?l=openbsd-misc&m=163077585122070&w=2

* I used to say "no adoption for your snowflake" is the problem
* I saw
  * new commands appearing that didn't fix problems I care about
  * old commands to become bloated and colorized
  * "drop in replacements" that were worse than the previous commands
    (apt sucks!)
* so many commands could produce TSV (or msgpack) instead of
  weird outputs
* younger generations of developpers don't know or don't care about
  unix convention (releasing messages on stdout, then adding color on it
  without testing tty happens more and more)
* most of the shell semantic is good but no implementation tried to
  be a pot-pourri of 50 years of UX (rc missed some key features and zsh
  come with too much history) so we're stuck with dash.
* the more I write wrappers around existting commands the more I realize
  a fresh start on core utils would be great even if i'm the only one user
  of it.

So I'm finally thinking of my own coreutils based on the needs I have after
30years of unix happyness.