Skip to content

winkey728/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status License: MIT

Winkey's dotfiles 🔧

This repository is used for setting up my new development environment on macOS and Arch Linux(Manjaro). It contains my dotfiles and configurations with my favorite settings.

Setup

(:warning: These are the settings for myself, PLEASE TAKE IT SERIOUSLY BEFOR YOU RUN)

To set up the dotfiles just run the appropriate snippet in the terminal:

OS Snippet
macOS bash -c "$(curl -LsS https://raw.githubusercontent.com/winkey728/dotfiles/master/src/bootstrap/setup.sh)"
Manjaro bash -c "$(wget -qO - https://raw.githubusercontent.com/winkey728/dotfiles/master/src/bootstrap/setup.sh)"

and then wait for the completion.

NOTE: It will take a long time to finished, and I recommand to setup a VPN if you run it on macOS.

The setup process will:

Screenshots

Git

Output for git status:

Output for git status on macOS Output for git status on Manjaro
macOS Manjaro

Output for git log:

Output for git status on macOS Output for git status on Manjaro
macOS Manjaro

Tmux & Terminal

Output for git status on macOS Output for git status on Manjaro
macOS Manjaro

Emacs

Output for git status on macOS Output for git status on Manjaro
macOS Manjaro

Vim

Output for git status on macOS Output for git status on Manjaro
macOS Manjaro

Local Settings

Those additional local requirements can be put in the .local files.

zsh (~/.zsh.local)

The ~/.zsh.local file will be sourced after ~/.zprofile and ~/.zshrc, thus, allowing its content to add to or overwrite the existing aliases, settings, PATH, etc.

git (~/.gitconfig.local)

The ~/.gitconfig.local file will be included after the configurations from ~/.gitconfig**, thus, allowing its content to overwrite or add to the existing git** configurations.

Note: Don't put sensitive information in ~/.gitconfig, Use ~/.gitconfig.local to store them, e.g.:

[commit]

    # Sign commits using GPG.
    # https://help.github.com/articles/signing-commits-using-gpg/

    # gpgsign = true

[diff]

    # You can use any diff tool here(e.g. Meld)

    # tool = meld

[merge]

    # You can use any merge tool here(e.g. Meld)

    # tool = meld

[user]

    name = winkey
    email = [email protected]
    # signingkey =

[credential]

    helper = osxkeychain

Update

To update the dotfiles you can either run the setup script or, if you want to just update one particular part, run the appropriate script.

Acknowledgements

Inspiration and code was taken from many sources, including: