Coder Social home page Coder Social logo

anadinema / dotfiles Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 42.61 MB

🔧 .files, including ~/scripts/defaults.zsh - sensible developer defaults for macOS

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

License: MIT License

Ruby 0.41% Shell 89.18% AppleScript 0.44% Batchfile 9.98%
dotfiles dotfiles-macos macos zsh

dotfiles's Introduction

Dotfiles - Dotting the mac :)


Installation

Note: If you want to give these dotfiles a try, you should first fork this repository, review the code, and remove things you don’t want or need. Don’t blindly use the settings unless you know what that entails. Use at your own risk!

Pre-requisites

You should have the following tools installed to follow further steps:

  • Git
  • ZSH

If you don't have these tools (starting with a new mac let's say), then use the following command to get the pre-requisites setted up.

xcode-select --install

Then follow the prompts till the installation is complete.

Check if git is installed by running git --version. It should spit out some version (not concerned about what version it is because we will install git later from brew).

Run echo $0. If it didn't spit out -zsh, then use run chsh -s $(which zsh) to change your shell to zsh (assuming you have zsh installed already).

Once shell is changed restart your terminal.

Using Git and the install script

You can clone the repository wherever you want. (I keep it in ~/.dotfiles).

The below command will get the repository and place it in .dotfiles folder inside you user home directory and export that directory path.

git clone https://github.com/anadinema/dotfiles.git $HOME/.dotfiles && cd $HOME/.dotfiles && export DOTFILES=$(pwd)

Then to start the setup, run:

zsh install.zsh

By default, it will run the defaults.zsh script as well and set some sensible macos defaults. In case you don't want that, then add the DEFAULTS variable as false and run:

DEFAULTS=false zsh install.zsh

Some of the functionality of these dotfiles depends on formulae present in brew/Brewfile. If you plan to not install brew or it's formulae, you should look carefully through the script and manually install any particularly important ones. A good example is stow: the GNU utility to manage the symlinks for the dotfiles.

Feedback

Suggestions/improvements welcome!

Author

Anadi Nema - Connect & support me on

GitHub LinkedIn Stackoverflow Buy Me a Coffee

Show some ❤️ by starring some of the repositories!

Thanks and credits to

dotfiles's People

Contributors

anadinema avatar

Watchers

 avatar

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.