Giter VIP home page Giter VIP logo

dotfiles's Introduction

This is the repository for all of my dotfiles for Linux/Mac/Windows. It uses GNU Stow to organize the configuration files, and follows the XDG Base Directory specification to keep my home directory (~/) as clean as possible.

Pre-requisites

Installation

  1. Install Nushell, GNU Stow, and Neovim

    Do not start Nushell until the directories are symlinked. Nushell will not let you symlink its config directory if it's already running. The first few steps should use the default shell (bash, zsh, etc.).

  2. (Optional) Mac OS only

    # Install Xcode tools
    xcode-select --install
    
    # Install Homebrew
    bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
    
    # (Optional) Install formulae from ./Brewfile
    brew bundle
  3. Clone repository to ~/.config/dotfiles and cd into it

    git clone --recurse-submodules --depth 1 https://github.com/zaknesler/dotfiles.git ~/.config/dotfiles
    
    cd ~/.config/dotfiles
  4. Symlink directories using Stow

    ls -d */ | xargs stow -t $HOME
  5. Set your default shell to Nushell (Linux/Mac OS)

    # Ensure Nushell exists as an option
    cat /etc/shells
    
    # Set user shell
    chsh -s $(which nu)
  6. Re-login or run nu to use new configuration

  7. Install Rust via rustup

    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  8. Install nu_plugin_gstat (enables git repo data)

    cargo install nu_plugin_gstat
    let gstat = (which nu_plugin_gstat | get path | first)
    nu -c $'register '($gstat)'; version'

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.