This content originally appeared on DEV Community 👩💻👨💻 and was authored by jmau111⭐
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:
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
- it's definitely meant for Linux machines and GitHub accounts, but it may work with other platforms as well
- it's very minimalist on purpose
How to use
git clone https://github.com/jmau111/dotfiles
cd dotfiles
bash 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.
This content originally appeared on DEV Community 👩💻👨💻 and was authored by jmau111⭐

jmau111⭐ | Sciencx (2022-10-28T14:25:41+00:00) A Bash script for dotfiles. Retrieved from https://www.scien.cx/2022/10/28/a-bash-script-for-dotfiles/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.