Giter VIP home page Giter VIP logo

dotfiles's Introduction

dotfiles

CI

These are the dotfiles I use on my systems and development environments.

Installation

To install these dotfiles:

  1. Clone this repository with Git.
  2. Setup the dotfiles:
    • If you're on a Unix-based system (Linux, macOS, Windows Subsystem for Linux):

      1. SSH_AUTH_SOCK="${SSH_AUTH_SOCK:-}" setup.sh
    • If you're on Windows:

      1. setup-windows.ps1 from a Powershell shell on Windows.

All the dotfiles and binaries will be symlinked to their destinations so you can update them just by pulling the latest changes.

Contents

This section describes the customizations and configurations included in these dotfiles.

Software configuration

The dotfiiles include configuration files for the following softwares:

  • cURL
  • Git
  • Nano
  • SSH client
  • Tmux
  • Visual Studio Code
  • Wget
  • Windows Subsystem for Linux

Shell customizations

The dotfiles include customization and configuration files for different shells.

To avoid repetitions, the customizations are categorized considering the type of shell they are applicable to. All the customizations are in the .shells directory:

  • The .bash directory contains scripts for Bash.
  • The .sh directory contains scripts for the Bourne shell.
  • The .zsh directory contains scripts for the Z shell.
  • The scripts in the .all directory are executed by all the shells.

Git hooks

The dotfiles include the following Git hooks:

  • commit-msg that adds a Change-Id to the commit message, if necessary. Useful when working with Gerrit.

Thanks

I used these dotfiles as inspiration and guidance:

dotfiles's People

Contributors

dependabot[bot] avatar ferrarimarco avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dotfiles's Issues

Migrate to ZSH

  • Migrate configuration from bash to zsh
  • Change default shell to zsh
  • Install zsh from brew
  • Set zsh options
  • Check environment variables in .extra
  • Configure completion
  • Configure key bindings
  • Configure prompt

Configure iTerm2 dotfiles

# Specify the preferences directory
defaults write com.googlecode.iterm2.plist PrefsCustomFolder -string "~/dotfiles/iterm2"
# Tell iTerm2 to use the custom preferences in the directory
defaults write com.googlecode.iterm2.plist LoadPrefsFromCustomFolder -bool true

OR

cp -sf $CURRENT_DIR/iterm2/com.googlecode.iterm2.plist ~/Library/Preferences/com.googlecode.iterm2.plist

Configure SSH

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.