Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
October 28, 2022 02:25 pm GMT

A Bash script for dotfiles

I made a Bash script to quickly configure your machine with the dotfiles, which are global configuration files used by your machine and specific software:

GitHub logo jmau111 / dotfiles

small Bash script to install most helpful dotfiles to dev

Dotfiles

Light Bash script to configure your machine as a developer. It contains a short list of configuration files and commands you'll need to start.

Disclaimer

  1. it's definitely meant for Linux machines and GitHub accounts, but it may work with other platforms as well
  2. it's very minimalist on purpose

How to use

git clone https://github.com/jmau111/dotfilescd dotfilesbash install

You'll get a prompt that asks the name and the email you want to associate with your commits. People usually use a no-reply email for privacy purposes. For example, GitHub provides something like "{USER_ID}+{USERNAME}@users.noreply.github.com".

Be aware, such email will be public in your public repositories.

Files

  • .gitconfig: main config file for your Git activities (the script only overrides some settings and add a few aliases)
  • .gitignore_global: main config file for all files that should be ignored by Git
  • .bash_profile: user configuration settings
  • .bash_aliases: examples of helpful aliases

The script is quite straightforward. Check the instructions.

It's "Git-oriented" and quite minimalist.


Original Link: https://dev.to/jmau111/a-bash-script-for-dotfiles-24do

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To