An Interest In:
Web News this Week
- April 2, 2024
- April 1, 2024
- March 31, 2024
- March 30, 2024
- March 29, 2024
- March 28, 2024
- March 27, 2024
Some of Our Sources
View All Sources
October 28, 2022 02:25 pm GMT
Original Link: https://dev.to/jmau111/a-bash-script-for-dotfiles-24do
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:
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/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:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To