Ben Grande 07c7d1ed95
feat: set manual page and GNU Info paths
Useful to have a directory that is user writable to drop-in manual pages
of programs that are only run by user and not superuser or other users.
2024-02-04 19:49:06 +01:00
2023-11-13 14:11:21 +00:00
2023-11-13 14:11:21 +00:00
2023-12-20 16:55:32 +01:00
2023-12-20 16:55:32 +01:00
2023-11-13 14:11:21 +00:00
2023-11-13 14:11:21 +00:00
2023-11-13 14:11:21 +00:00
2023-11-13 14:11:21 +00:00
2023-11-13 14:11:21 +00:00
2023-11-13 14:11:21 +00:00
2023-11-13 14:11:21 +00:00
2023-11-13 14:11:21 +00:00
2023-11-13 14:11:21 +00:00
2023-11-13 14:11:21 +00:00
2023-11-13 14:11:21 +00:00
2023-11-13 14:11:21 +00:00
2023-11-13 14:11:21 +00:00
2023-11-13 14:11:21 +00:00
2023-11-13 14:11:21 +00:00
2023-11-13 14:11:21 +00:00
2023-11-13 14:11:21 +00:00
2023-11-13 14:11:21 +00:00
2023-11-13 14:11:21 +00:00
2023-11-13 14:11:21 +00:00
2023-11-13 14:11:21 +00:00

dotfiles

Ben Grande's Dotfiles.

Table of Contents

Description

Configuration and scripts targeting:

  • Usability:
    • Vi keybindings for application movement
    • Emacs keybindings for command-line editing
    • XDG Specification to not clutter $HOME
  • Portability:
    • POSIX compliant code
    • Drop-in configuration files
    • Tested in Qubes OS Dom0, Debian, Fedora
  • Tasks:
    • GUI: x11, gtk
    • SCM: git, tig, git-shell
    • Keys: gpg, ssh
    • Networking: curl, urlview, wget, w3m
    • Productivity: tmux, vim
    • Shell: sh, bash, zsh, less, dircolors

Installation

Salt

The formula was designed to be run in Qubes OS, the normal user name is hardcoded to user and its home is hardcoded to /home/user.

Install everything in a qube:

qubesctl --skip-dom0 --targets=QUBE state.apply dotfiles.copy-all

Install specific files in Dom0:

qubesctl state.apply dotfiles.copy-dom0,dotfiles.copy-sh,dotfiles.copy-vim,dotfiles.copy-x11

Script

You can simply deploy all configurations with:

./files/setup.sh

Or target specific ones by specifying the directory name:

./files/setup.sh sh bash

Note that some files might depend on other directories, specially sh which is a base for bash and zsh but might also have environment variables for net and vim. It also adds $HOME/.local/bin and $HOME/.local/bin/$HOSTNAME to the $PATH variable, so if the project has scripts, install the sh directory.

Reload your shell:

exec $SHELL

Reload you X server:

. ~/.config/x11/xprofile

You need to logout and login again for some changes to take effect.

Usage

The deployment replaces existing files and that is the goal, to make sure that we have the same configuration of every machine. Support for local configuration is implemented by including a local file per application.

Supported programs and the expected file names in $HOME:

  • bash: .bashrc.local
  • git: .gitconfig.local
  • sh: .profile.local, .shrc.local
  • ssh: .ssh/config.d/ (.conf suffix), .ssh/known_hosts.d/ (.host suffix)
  • tmux: .tmux.conf.local
  • vim: .vimrc.local
  • x11: .xprofile.local
  • zsh: .zshrc.local

License

This project is REUSE-compliant. It is difficult to list all licenses and copyrights and keep them up-to-date here.

The easiest way to get the copyright and license of the project with the reuse tool:

reuse spdx

You can also check these information manually by checking in the file header, a companion .license or in .reuse/dep5.

Description
Yet another fork of Dotfiles.
Readme 379 KiB
Languages
Shell 46.6%
Vim Script 45.7%
SaltStack 7.7%