Alexander Hess
b3322f6a44
- ignore apps whose config files are in the dotfiles repo already (see: https://gitlab.webartifex.biz/alexander/dotfiles) - ignore ~/.password-store as it contains symlinks - sync various (config) files that are not be public: + Cisco's AnyConnect + history files for bash, less, python, psql, tig, and zsh + Gnome Nautilus' bookmarks + SSH config |
||
---|---|---|
.config | ||
.mackup | ||
.ssh | ||
.vim | ||
.bash_login | ||
.bash_logout | ||
.bash_profile | ||
.bashrc | ||
.gitconfig | ||
.hidden | ||
.mackup.cfg | ||
.p10k.zsh | ||
.profile | ||
.psqlrc | ||
.zlogout | ||
.zprofile | ||
.zshenv | ||
.zshrc | ||
LICENSE.txt | ||
README.md |
Dotfiles
This repository contains useful (config) files that I use on my machines.
Initialization
On a freshly set up machine, run:
curl https://gitlab.webartifex.biz/alexander/dotfiles/-/raw/main/.config/shell/init_dotfiles.sh \
> /tmp/init_dotfiles.sh \
&& source /tmp/init_dotfiles.sh
This gives you a local copy of the latest version of this repository
(located in ~/.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 virtualenv
s, 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.