1
0
Fork 0
The config files I use on my machines
Find a file
Alexander Hess dbd665e7f3
Add configuration for zsh
- Add ~/.zshrc
  + Configure on how the `history` works
  + Enable nicer `cd` and globbing behavior
  + Enable tab completion, and make them feel nicer
  + Enable VI mode and add some VI-like key bindings
- Add ~/.zlogout clearing the screen
- Add ~/.config/zsh/.zshrc and make it dispatch to ~/.zshrc
  to make `zsh` use the same configuration even on more
  recent Debian/Ubuntu machines that do not look for
  ~/.zshrc any more
- Ensure ~/.local/state/zsh/ exists
2026-06-11 18:28:02 +02:00
.config Add configuration for zsh 2026-06-11 18:28:02 +02:00
.local Add configuration for zsh 2026-06-11 18:28:02 +02:00
.bash_login Add configuration for bash 2026-06-11 18:28:02 +02:00
.bash_logout Add configuration for bash 2026-06-11 18:28:02 +02:00
.bash_profile Add configuration for bash 2026-06-11 18:28:02 +02:00
.bashrc Add configuration for bash 2026-06-11 18:28:02 +02:00
.profile Add configuration for zsh 2026-06-11 18:28:02 +02:00
.zlogout Add configuration for zsh 2026-06-11 18:28:02 +02:00
.zshrc Add configuration for zsh 2026-06-11 18:28:02 +02:00
LICENSE.txt Mark this repository as open-source ... 2026-06-11 18:28:01 +02:00
README.md Mark this repository as open-source ... 2026-06-11 18:28:01 +02:00

Dotfiles

This repository contains useful (config) files.

There are two "production" branches:

main contains dotfiles intended to be used on all kinds of machines and can be thought of as a "minimal" or "server" version. desktop is (re-)based on top of main and adds "desktop" related dotfiles (e.g., GNOME stuff).

Installation

Simply run:

curl https://code.webartifex.biz/alexander/dotfiles/raw/branch/main/.local/bin/install-dotfiles > install-dotfiles && sh ./install-dotfiles && rm ./install-dotfiles

or

wget https://code.webartifex.biz/alexander/dotfiles/raw/branch/main/.local/bin/install-dotfiles -O install-dotfiles && sh ./install-dotfiles && rm ./install-dotfiles

This downloads a simple installation script and then executes it. The script has only one dependency, namely git. So, it should not be too hard to get this going.

When it finishes, reload your shell to start using the dotfiles:

exec $SHELL -l

For the desktop variant, run export DOTFILES_BRANCH=desktop before installation.

Normally, I advise against executing shell scripts from the internet, but this one is short enough to be read even by beginners. So, convince yourself that it is not harmful!

Shells

The config files in this repository are optimized for usage with GNU's Bourne again shell, or bash for short, and the popular zsh.

This repository and all of its contents are open-source under the MIT license.