Skip to content

Latest commit

 

History

History
111 lines (75 loc) · 1.89 KB

README.md

File metadata and controls

111 lines (75 loc) · 1.89 KB

Andy's Dotfiles

A set of custom dotfiles created to help me understand ZSH and stop relying on Oh-My-ZSH / Prezto.

It is designed around zplug. When you first start up your terminal with the custom .zshrc file it should install zplug, then install all of it's own dependencies.

I am trying to create a system similar to the way npm handles dependencies.

Installation

  1. Get the repo
    git clone <url_for_this_repo>
  2. Switch to zsh shell:
    chsh -s /bin/zsh
  3. Install the dot files
    cd path/to/dotfiles
    ./install.sh

Mac Setup

Add spacers into Dock

defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="small-spacer-tile";}';
killall Dock

Notes

Fonts

# Mac
brew install font-fira-code-nerd-font

# Windows
scoop bucket add nerd-fonts
scoop update
scoop install FiraCode-NF

Hub

You might get errors about not being able to find hub, install it with:

# Mac
brew install hub

# Debian
sudo apt install hub

Locales

As these dotfiles are intended for a UK user, you might get errors about missing locales.

perl: warning: Please check that your locale settings are supported and installed on your system

To fix this (http://askubuntu.com/a/227513):

# Generate a locale
sudo locale-gen "en_GB.UTF-8"

# Set the system up to use the new locale
sudo dpkg-reconfigure locales

Stylish

Meld

Dark Mode (Windows)

To enable dark mode open C:\Program Files (x86)\Meld\etc\gtk-3.0 and change:

[Settings]
gtk-application-prefer-dark-theme=0

to

[Settings]
gtk-application-prefer-dark-theme=1

Reference: https://gitlab.gnome.org/GNOME/meld/-/issues/554#note_1059359