zo3o5 / dotfiles

Linux configuration files (dotfiles) and some useful scripts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dotfiles

Config files for everything. See the topics section for details and follow the links therein.

Environment

Topics

Follow the link to read more.

  • Shell prompt script. It's simple and fast.
  • Readline configuration, making bash a powerful interactive shell.
  • Environment variables, with lots of XDG path settings.

MPD is a music player daemon. I mostly use ncmpc as the front end.

Mutt is a TUI mail client.

Apart from normal configurations, I created a mutt_bootstrap script to support multiple accounts by listing and selecting an email address from pass password store, and extracting the password therein.

A lot of scripts.

All other configuration files. Some interesting ones I like:

  • Gnu info keybings for vim users. Now you know more than pressing q to quit!
  • Top settings to make it as eye-candy as possible.
  • Ex/Vi configuration. Try this old text editor, you will learn vi(m) faster.

Manage dotfiles

I manage my configuration files with stow and a simple makefile.

There are two kinds of files here:

  • "Dotfiles" that go into home directory. Managed by stow:

    Every folder is treated as a stow "package". Under every folder, there are the "dot" files, which are organized as they are relative to home directory. Deployed with stow -t $HOME -v <package name>.

  • Files that are in the system root folders.

    Some system files doesn't work if they are symlinks, so they will be copied to the target directly. They shouldn't start with "dot".

Use the makefile:

make dotfiles  # deploy "dot" files
make system    # deploy system files

About

Linux configuration files (dotfiles) and some useful scripts


Languages

Language:Lua 40.0%Language:Shell 36.9%Language:Vim Script 11.2%Language:Python 8.0%Language:Perl 2.0%Language:CSS 1.4%Language:Makefile 0.5%