项目作者: wumadeline

项目描述 :
My personal dotfiles (zsh, neovim config, macOS/application preferences)
高级语言: Shell
项目地址: git://github.com/wumadeline/dotfiles.git
创建时间: 2020-12-29T05:51:06Z
项目社区:https://github.com/wumadeline/dotfiles

开源协议:

下载


dotfiles

These are my (WIP) dotfiles.

Installation

Set up instructions for brand new machine

On a new machine, install the most recent software update and set up all
necessary dependencies/applications.

  1. sudo softwareupdate -i -a
  2. xcode-select --install

Set Up

Clone a copy of this directory onto your local machine, then run the setup script.

  1. git clone https://github.com/wumadeline/dotfiles.git
  2. cd dotfiles
  3. sh setup

Note: In order to download and install MAS apps, you’ll need to be signed into your iCloud account. This action hasn’t been added programmatically via the set up script, so you’ll need to do this manually.

Mac OS X Preferences

Set default macOS system preferences:

  1. source .macos

Installation

The dotfiles come packaged with a bootstrap installation script. This script
will link the relevant dotfiles from this repo to your home directory, so they
can be sourced by the .zshrc file. This script also links the relevant
application profiles/preferences by looking for all of the install.sh scripts
within the dotfiles repo.

  1. sh install

After this runs successfully, restart your terminal and your dotfiles should
take affect. zsh automatically sources .zshrc upon initialization, so there
is no need to manually source this after changes are made.

Customizing iTerm Appearance

Using Powerline fonts

You’ll need to install Powerline fonts in order for some of the oh-my-zsh
themes to render properly.

  1. # clone
  2. git clone https://github.com/powerline/fonts.git --depth=1
  3. # install fonts
  4. cd fonts
  5. ./install.sh
  6. # clean up the fonts dir, now that they've been installed
  7. cd ..
  8. rm -rf fonts

Them, you can change the iTerm2 text to use the Meslo LG M DZ for Powerline
font.

  1. iTerm2 > Preferences > Profiles > Text > Font > Meslo LG M DZ for Powerline

Solarized Dark theme

Change the iTerm2 colors via the Preferences:

  1. iTerm2 > Preferences > Profiles > Colors > Color Presets > Solarized Dark

Resources

Dotfiles Referenced

Vim Stuff

Vim and Python
from Real Python

Optixal’s Neovimm init.vim Github

Build your own Vim statusline

Vim for Python in 2020
from Vim from Scratch

Useful Things

Getting Started with Dotfiles by Dries Vints

@webprolific/getting-started-with-dotfiles-43c3602fd789">Getting Started with
Dotfiles
by Lars Kappert

Setting Up a Mac Dev Machine From Zero to Hero with Dotfiles

A repo
(awesome-macos-command-line)
detailing shells commands to customize macOS

Setting up Neovim for Web Development in 2020 by Dominik Tarnowski

A Complete Guide to Neovim Configuration for Python Development on
Linux
by
jdhao

Full GUI colors in iTerm, tmux, and
vim

by Paul Gessinger