Coder Social home page Coder Social logo

nicolodiamante / dotfiles Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 0.0 152 KB

Automate and streamline your configuration synching on multiple systems with this dotfiles.

License: Other

Shell 87.44% JavaScript 10.42% Ruby 2.14%
dotfiles macos git homebrew homebrew-cask mackup shell zsh node linux dotfiles-installer dotfiles-macos dotfiles-resources dotfiles-setup zsh-configuration zsh-configuration-framework zsh-custom zsh-prompt zshell

dotfiles's Introduction

Dotfiles

For those who are not familiar, the dotfiles directory is a hidden directory in the user's home directory that contains configuration files for various applications and tools. These files are typically preceded by a dot, hence the name "dotfiles". This project's shell scripts automate the installation of development tools, apps, and symbolic links, making it easy to automate and synchronise your configurations across multiple systems.



Terminal



Benefits of Dotfiles

  • Saves time and effort by automating the installation of development tools.
  • Ensures consistency across multiple systems by synchronising configurations.
  • Easy to set up and use.

Using a cloud service instead of GitHub

As a member of the Apple ecosystem, I decided to streamline my workflow by moving my dotfiles to iCloud Drive. Since I'm already paying for an iCloud subscription, it made sense to take advantage of this cloud storage service to keep all my dotfiles in one place. Putting dotfiles into iCloud Drive can be a great way to keep them synced across all of your Apple devices. However, my latest configuration still remains on Github, allowing me to easily push or pull updates as I make them. This simple sync process ensures that you can keep all your systems in sync and access your dotfiles from anywhere. This streamlined workflow saves you time and effort, making it a convenient and accessible solution for managing your dotfiles.

What are the benefits of working in the Cloud?

Using a cloud service, like Dropbox, Google Drive, or iCloud Drive, can offer various advantages, especially when it comes to real-time syncing. By storing your dotfiles in the cloud, you can quickly and easily access and edit them from any device, without worrying about manually transferring the latest version. Additionally, you can maintain the same folder structure across all your devices, making it easier to organise and locate your files. You can even use Github as a backup and reference to share your repository with others. This approach ensures that you always have access to the latest version of your configuration, no matter where you are.

iCloud Sync Folder

Getting started

Before incorporating someone else's dotfiles, it's recommended to review the code thoroughly to ensure that it's compatible with your system and to remove any unnecessary settings. Blindly using someone else's dotfiles without understanding what they do can lead to unintended consequences, so it's important to have a good understanding of what each configuration setting does before applying it to your system.


Installation

With the Bootstrap script, you can easily manage and install packages using Homebrew, npm and mas. Once the packages are installed and configured, the macOS settings will be automatically set up for you. The script will then proceed to create a symbolic link of your dotfiles in your home directory, while keeping the original files intact in either iCloud Drive or in your local directory.

Let's get started, download the repository via curl:

zsh -c "$(curl -fsSL https://raw.githubusercontent.com/nicolodiamante/dotfiles/HEAD/bootstrap.zsh)"

The script will first attempt to clone the repository to ~/Library/Mobile Documents/com~apple~CloudDocs, which is the path to the iCloud Drive directory for the user. If iCloud Drive is not available, the script will then clone the repository to ~ which is a local directory on the user's system.

Install Manually

As an alternative, you can download it first:

git clone https://github.com/nicolodiamante/dotfiles.git ~

Navigate to the dotfiles directory and execute the script.

cd bin && source bootstrap.zsh

Dotfiles


Add custom commands without creating a new fork

The user/config feature allows users to add custom commands to their dotfiles without having to fork the entire repository. This is useful for adding commands that users do not want to commit to a public repository. Additionally, users can also create additional files in the user/ directory which will be sourced automatically from the zshrc file and ignored by Git. This provides users with more flexibility in managing their dotfiles and allows them to easily customise their shell environment to suit their needs. With this approach, users can keep their dotfiles organised and easily accessible, while also ensuring that their sensitive information remains private.

Notes

Resources

Arch Linux

Base Directory

Zsh Documentations

Contribution

Thanks for considering these Dotfiles for your development needs. If you have any ideas on how to improve this project, please feel free to share them. If you encounter any issues or bugs, please report them to the issues page. Your feedback is valuable in helping to improve these Dotfiles.

Nicolò Diamante Portfolio

MIT License

dotfiles's People

Contributors

nicolodiamante avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.