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 3bd25ebc84
Temporarily disable signing ...
... if the proper GPG key is not available, e.g., on a server.
Then, it does not make sense to push the updates to the forked repo.
2023-09-13 15:46:01 +02:00
.config Temporarily disable signing ... 2023-09-13 15:46:01 +02:00
.local Install mackup only on clients 2023-09-13 11:40:42 +02:00
.ssh Add public SSH keys for new clients 2023-05-30 12:26:41 +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 ~/Screenshots 2023-05-02 12:37:04 +02:00
.profile Integrate machine-specific ENV variables 2023-09-13 11:52:33 +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 Move $XDG_CONFIG_HOME/shell/init_dotfiles to $XDG_DATA_HOME/dotfiles/setup.sh 2023-05-01 02:22:43 +02: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/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.