Skip to content

tjvc/dotfiles

Repository files navigation

dotfiles

Config files, primarily for customising my shell and Vim.

Installation

    $ git clone --recursive git@github.com:tjvc/dotfiles.git ~/dotfiles
    $ bash ~/dotfiles/setup.sh

macOS development environment

Homebrew

    $ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
    $ echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/thom/.zprofile
    $ eval "$(/opt/homebrew/bin/brew shellenv)"
    $ brew bundle

Fish

    $ chsh -s $(which fish)

Neovim

    $ sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
        https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
    $ nvim +PlugInstall +qall

Ruby

Install the latest stable Ruby with asdf:

    $ asdf plugin add ruby
    $ asdf install ruby latest

Gems

    $ gem install bundler standard

ctags

git-templates contains hooks for generating tags on repository changes, which are copied to the .git directory on git init. To activate them, remove the .sample suffix from files in .git/hooks.