atwright147 / dotfiles

My own ZSH config using zplug

Home Page:http://www.atwright.co.uk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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

About

My own ZSH config using zplug

http://www.atwright.co.uk

License:MIT License


Languages

Language:Shell 64.5%Language:Perl 29.2%Language:PowerShell 4.5%Language:Lua 1.8%