Giter Site home page Giter Site logo

nicksp / dotfiles Goto Github PK

View Code? Open in Web Editor NEW
336.0 15.0 92.0 13.1 MB

My personal dotfiles: Zsh, Git, VSCode, WezTerm, etc.

Home Page: https://github.com/nicksp/dotfiles

License: MIT License

CSS 4.15% Python 0.18% Shell 32.14% Perl 0.32% Ruby 1.50% Lua 8.18% Objective-C 25.14% C 18.34% JavaScript 3.06% HTML 6.99%
dotfiles zsh environment macos homebrew lazyg wezterm configuration

dotfiles's Introduction

~nicksp ๐ŸŒฎ

My personal dotfiles for configuring macOS with Zsh and Homebrew.

nicksp terminal

Important

Please only open pull requests that fix bugs or add improvements without any breaking changes.

Warning

I recommend forking this repository to create your own set of dotfiles.

Requirements

  • macOS
  • Homebrew (the install script will install Homebrew)
  • Zsh (the install script will install Zsh via Homebrew)

What's in there?

Installation

  1. Enable Firewall under System Settings โ†’ Network

  2. Point the DNS Servers to Cloudflare DNS

    • 1.1.1.1
    • 1.0.0.1
    • 2606:4700:4700::1111
    • 2606:4700:4700::1001
  3. Configure Git and GitHub SSH

    1. Generate SSH key and add it to the ssh-agent

    2. Add your public SSH key to GitHub account

    3. Test your authentication with:

  4. Install MonoLisa font

  5. Choose manual or automatic dotfiles installation below

Manually

git clone [email protected]:nicksp/dotfiles.git ~/dotfiles
cd ~/dotfiles
./setup/zsh.sh
./setup/brew.sh
./setup/misc.sh
./setup/symlinks.sh

Automatically

To automate the setup of your dotfiles on a new machine, use the setup script.

Caution

Use at your own risk!

git clone [email protected]:nicksp/dotfiles.git ~/dotfiles
~/dotfiles/setup.sh

This will install all required dotfiles in your home directory as symlinks. Everything is then configured via modifying files in ~/dotfiles.

Extras

Set macOS defaults

set-defaults

Use alternative apps icons

sync-apps-icons

Install colors themes

sync-color-themes

Local customizations

The dotfiles can be extended to suit additional local requirements by using the following files:

~/.zsh.local

If this file exists, it will be automatically sourced after all the other shell related files allowing its content to add to or overwrite the existing aliases, settings, PATH, etc.

~/.gitconfig.local

If this file exists, it will be automatically included after the configurations from ~/.gitconfig allowing its content to overwrite or add to the existing git configurations.

Tip

Use ~/.gitconfig.local to store sensitive information such as the git user credentials for individual repositories.

Updating

To update an existing install:

cd ~/dotfiles
git pull
./setup.sh

License

MIT License.

Inspiration

dotfiles's People

Contributors

nicksp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dotfiles's Issues

There is an error in the git command and explanation

the command shown is
git clone https://github.com/nicksp/dotfiles.git ~/.dotfiles

where it should be ?
git clone https://github.com/nicksp/dotfiles.git ~/dotfiles

As the given command creates a different directory from the one expected also the subsequent command for curl also have .dotfiles

The install script fails with:

Changing access permissions for binary script :: weasel
ln: /Users/jfinlays/.oh-my-zsh/themes: No such file or directory
/Users/jfinlays/.zshrc: line 30: ${(k)dirs_to_prepend[@]}: bad substitution
/Users/jfinlays/.zshrc: line 43: /Users/jfinlays/z/z.sh: No such file or directory

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.