The config files I use on my machines
  • Vim Script 57%
  • Shell 36.1%
  • Python 6.9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Alexander Hess 7b012b1424
Update URL to setup.sh script ...
... to reflect usage of Forgejo instead of GitLab
2025-01-23 16:59:36 +01:00
.config Add prune aliases 2025-01-04 13:27:46 +01:00
.local Add rexi, a CLI regex tester 2024-03-26 03:26:26 +01:00
.ssh Update public keys 2024-06-05 15:37:32 +02:00
.bash_login Configure bash 2022-08-11 21:21:47 +02:00
.bash_logout Configure zsh 2022-08-11 21:22:50 +02:00
.bash_profile Configure bash 2022-08-11 21:21:47 +02:00
.bashrc Move everything possible into XDG directories 2023-05-01 02:22:39 +02:00
.hidden Hide R's user folder 2024-03-14 16:03:46 +01:00
.profile Move __pycache__ folders to /tmp 2024-06-21 01:21:30 +02:00
.selected_editor Make VIM the default editor 2023-05-01 02:22:43 +02:00
LICENSE.txt Open-source the project 2022-07-10 20:54:42 +02:00
README.md Update URL to setup.sh script ... 2025-01-23 16:59:36 +01:00

Dotfiles

This repository contains useful (config) files that I use on my machines.

Initialization

On a freshly set up machine, run:

curl https://code.webartifex.biz/alexander/dotfiles/raw/branch/main/.local/share/dotfiles/setup.sh \
     > ./setup.sh && source ./setup.sh && rm ./setup.sh

This gives you a local copy of the latest version of this repository (located in $XDG_DATA_HOME/dotfiles) and initializes all the dotfiles provided here on the system. Further, zsh is set up with oh-my-zsh and zplug if it is installed.

Note: Log out and in again so that bash and zsh run as login shells. Otherwise, ~/.profile is probably not sourced.

Important: Don't forget to back up your current dotfiles!

Python Development Environments

The develop environments for Python are managed via pyenv.

To set them up, run:

create-or-update-python-envs

Several Python versions are installed. Additionally, two virtualenvs, called "interactive" and "utils", are also created:

  • "interactive" is the default environment, and
  • "utils" hosts globally available utilities (e.g., youtube-dl).

Use pyenv local ... to specify a particular Python binary for a project.

Private Dotfiles

After setting up the Python environments (i.e., the "utils"), running mackup restore symlinks further dotfiles into ~/. This only works for this project's maintainer.