davidtwco / dotfiles

@davidtwco does dotfiles. Configurations for vim, tmux, zsh, bash, git, gpg and more.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deprecation notice

This project has been archived and isn't used anymore, the current version of these dotfiles are generated by Nix and live in the davidtwco/veritas repository. If you used the workman utility from this repository, that now resides in the davidtwco/workman repository.

dotfiles

license antibody minpac tpm say thanks

Screenshot

These are my dotfiles! This repository contains my Vim (or Neovim), tmux, and zsh (and the equivalent bash) configurations. I've tested that these dotfiles work on NixOS, Ubuntu, ArchLinux and within Bash for Windows.

How do I use these dotfiles?

These dotfiles are managed using yadm. After installing yadm by following their installation instructions, to clone my dotfiles, run the following:

yadm clone git@gitlab.com:davidtwco/dotfiles.git

You may have conflicts with pre-existing files, like .bashrc, after cloning. You can run yadm status and then yadm reset HEAD <filename> and yadm checkout -- <filename> to reset all files to those from the repository.

If you didn't run into any issues above, then yadm will have executed the bootstrap script script to create symlinks and install plugins. If you need to run this manually, execute the following:

.yadm/bootstrap

How do I manually install zsh plugins using Antibody?

I use Antibody for managing my zsh plugins - this should be set up and installed by the bootstrap script. However, if it wasn't or you need to update the installed plugins, you can follow the steps below.

First, if you haven't already, install Antibody as below:

curl -sL https://git.io/antibody | bash -s

Next, run the following to re-generate the .zsh_plugins.sh script that zsh will source to load plugins (you will need to redo this every time you change the antibody bundle file that contains the list of plugins).

source <(antibody init)
bash -c 'antibody bundle < ~/.antibody_bundle > .zsh_plugins.sh'
antibody update

About

@davidtwco does dotfiles. Configurations for vim, tmux, zsh, bash, git, gpg and more.

License:MIT License


Languages

Language:Shell 80.1%Language:Vim Script 17.6%Language:JavaScript 2.3%Language:Nix 0.0%