Go to file
2024-10-16 12:47:15 +02:00
.config ZSH: Add nix 2024-10-16 12:47:15 +02:00
.gitsecret Updated secrets 2021-01-24 16:16:16 +01:00
.ssh Updated secrets. 2021-01-24 16:51:12 +01:00
init Moved Brewfile to ~/.config 2021-01-22 21:00:37 +01:00
.gitignore Updated secrets 2021-01-24 16:16:16 +01:00
.gitmodules Removed submodules 2020-12-06 11:19:38 +01:00
.hushlogin First commit 2016-04-16 16:31:54 +02:00
.zshenv Fixed an error in vim setup. 2020-10-11 20:56:08 +02:00
Makefile Removed unused stuff 2024-06-20 23:51:04 +02:00
README.md Updated README 2024-06-20 23:52:52 +02:00
screenshot-tmix.png README: Updated screenshots 2021-01-24 18:59:12 +01:00
screenshot.png README: Updated screenshots 2021-01-24 18:59:12 +01:00

dotfiles

These are my dotfiles. They are awesome.

This repo contains my dotfiles which I use at macOS, FreeBSD and Linux systems. This set features a nice and fast zsh config, a neat vim environment and a tmux config.

The workstation realted stuff is mostly tested on macOS. Especially the key bindings may be not portable at the moment.

Alacritty window using the dotfiles by chrisb86

The zsh prompt is handcrafted to look neat and provide some extra info. When you are root the user- and hostname color changes from blue to red. If you are connected via ssh, the prompt will show some green arrows behind the working path and when you are in a git repository, it will show some git infos at the right side.

The tmux config contains some nice settings to make my work a bit easier and look nice.

My color scheme is the awesome Nord Color scheme by Arctic Ice Studio and my font is FiraCode Source Code Pro.

The repo ships with a Makefile that you can use to deploy and update the dotfiles.

# make help
help                           This help
all                            Update repo, decrypt secrets and run deploy-macos
install                        Update repor and run deploy-base
deploy-base                    Only deploy basic conf files for shell usage
deploy-workstation             Deploy workstation specific config files (inherits deploy-shell)
deploy-macos                   Deploy macOS specific config files (inherits deploy-workstation)
gen-vscodium-plugin-list       Update the list of VSCodium plugins
git-secrets-hide               Hide secrets with git-secret
git-secrets-reveal             Reveal secrets with git-secret
git-fetch                      Fetch changes from origin
git-push                       Push changes to origin
git-update-submodules          Update all submodules
brew-bundle                    Install applications with brew bundle
brew-bundle-cleanup            Removew all appplications that are not listed in Brewfile
deploy-duti                    Deploy duti config
deploy-htop                    Deploy htop config
deploy-htop-zfs                Deploy htop config with zfs
deploy-tmux                    Deploy tmux config
deploy-vim                     Deploy vim config
deploy-vscodium                Deploy VSCodium config
deploy-youtubedl               Deploy youtube-dl config
deploy-zsh                     Deploy zsh config
deploy-brewfile                Deploy Brewfile
deploy-ssh                     Deploy SSH config
deploy-hushlogin               Deploy .hushlogin

The dotfiles will be copied to your ~.

The repo is initialized for beeing used with git-secret. My own personal secrets are pushed to the repo as well and can be decrypted with my GPG key.

ZSH with bells and whistles

The ZSH config doesnt use any frameworks and is tuned for speed.

The config delivers some nice extra functions.

extract()

extract can be run with extract to extract archives in any given formats.

tmix()

tmix creates a new tmux session and connects to a given list of servers with mosh and attaches to a tmux session at the server.

You must define a space separated list of servers as $TMIX_SERVERS=“” e.g. in ~/.zsh/lib/30-extras.zsh.

You can define a name for the used session in $TMIX_SESSION=“”. Otherwise it will use „TMIX“.

tmix kill kills the session.

tmux config

The tmux config rebinds the prefix key to C-a. It features different shortcuts to make my life easier (e.g. "C-a -„ for splitting the window horizontally.)

It also supports nested sessions with a modified color scheme. Thats nice when using tmix.

Alacritty window using the dotfiles by chrisb86 in a tmix session

Installation

### Getting the dotfiles.

git clone https://github.com/chrisb86/dotfiles.git

Deploying the dotfiles

For installing the base set for shell usage run

make install

For the fullfl edged setup with decrypting of the secrets use

make install

To list all avaliable commands run:

make help

Credits