Code Monkey home page Code Monkey logo

dotfiles's Introduction

Screenshots

dotfiles

vim

My dotfiles

Pre-installation

Note: this setup works only on Mac OS X

  1. Install Homebrew.

Installation

You can clone the repository wherever you want (I like to keep it in ~/Projects/dotfiles). The bootstrapper script will pull in the latest version and copy the files to your home folder.

$ git clone [email protected]:vasylnakvasiuk/dotfiles.git && cd dotfiles && make

To update, cd into your local dotfiles repository and then:

$ make

Add custom commands without creating a new fork

If ~/.extra/.zsh/local.zsh exists, it will be sourced along with the other files. You can use this to add a few custom commands without the need to fork this entire repository, or to add commands you don't want to commit to a public repository.

My ~/.extra/.zsh/local.zsh looks something like this:

# Git credentials
git config --global user.name "Vasyl Nakvasiuk"
git config --global user.email "[email protected]"

# Go environment
export GOROOT=/usr/local/opt/go/libexec
export GOPATH=$HOME/Projects/gocode
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin

You can overwrite something using ~/.extra/.zsh/local.zsh. For example:

# Overwrite alias
alias p="cd ~/Documents/Projects"

# Overwrite environment variable
export EDITOR="emacs"

Or you can extend all your dotfiles configuration using ~/.extra/.zsh/local.zsh like entry point. Your ~/.extra/.zsh/local.zsh can be like this:

for file in ~/.extra/.zsh/{local-exports,local-aliases,local-work-settings}.zsh; do
    [ -r "$file" ] && source "$file"
done
unset file

And in ~/.extra/.zsh/local-exports.zsh, ~/.extra/.zsh/local-aliases.zsh, ~/.extra/.zsh/local-work-settings.zsh you can add your own custom commands.

Colorscheme, font, terminal and editors

I'm using "Base16 Eighties Dark 256" colorscheme and patched "Fira Code" font called "Fira Code Nerd Font". Also my current terminal emulator is WezTerm.

As for text editors, I'm using Helix and Zed.

Thanks to...

Mathias Bynens for sharing his amazing collection of dotfiles.

Chris Hunt for nice dotfiles collection.

Chris Kempson for awesome color schemes.

dotfiles's People

Contributors

vasylnakvasiuk avatar

Stargazers

 avatar M.Bo avatar Clément Hussenot avatar Valera Rozuvan avatar Timo Haasch avatar Serge Bedzhyk avatar

Watchers

 avatar

Forkers

auraz

dotfiles's Issues

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.