Skip to content

This script will install dotfiles to your system. It also will install some useful tools, packages, and programs. After installed Linux OS or MacOS, you can run this script to install dotfiles.

License

Notifications You must be signed in to change notification settings

tanhongit/dotfiles

Repository files navigation

Welcome to the dotfiles installation script for Linux by tanhongit.

This script will install dotfiles to your system. It also will install some useful tools, packages, and programs.

After installing Ubuntu, you can run this script to install dotfiles. I added some programs, packages, and tools to this script. All of them need to be installed for Ubuntu.

It's a simple script, so you can run it easily.

Build Status Build Status

Information

  • Platform: Linux
  • OS Available: Ubuntu, Zorin OS, macOS
  • Language: Bash
  • Plash: GNOME
  • Shell: ZSH

Requirements

You will need to have an Ubuntu, Zorin OS, or macOS installed on your system.

  • For Ubuntu, you should use version 22.04 is stable.
  • For Zorin OS, you should use version 17 is stable.
  • For macOS

Installing

Install for Linux

Before running this script, please clone the repository to your local machine.

git clone https://github.com/tanhongit/dotfiles.git
cd dotfiles

Then, run the following command to install dotfiles.

cd linux
bash install.sh

Now, wait for a while, and you will see some messages questioning do you want to install some tools. If you want to install some tools, please answer yes(y).

Important

What to do after overwriting existing configurations?

In the installing process, you see a message that says "Do you want copy and overwrite existing config folders from this source to your os?".

If answer yes(y) but don't see any changes after rebooting, please handle it as follows:

  1. Open the terminal and run the following command:
cd linux
bash config.sh
  1. LOG OUT and LOG IN AGAIN to your OS.

Install for macOS

Before running this script on a macOS system, please clone the repository to your local machine.

git clone https://github.com/tanhongit/dotfiles.git
cd dotfiles

Then, navigate to the macOS directory and run the installation script.

cd macos
bash install.sh

Screenshots demo

Ubuntu 22.04

image

image

image

image

image

Backup your dotfiles from your local machine

If you want to back up your dotfiles from your local machine, please run the following command.

cd .backup
bash run.sh

Please wait for a while, it will take some time to back up your dotfiles. When you are ready, you can run the following command from Step 2 to restore your dotfiles.

About

This script will install dotfiles to your system. It also will install some useful tools, packages, and programs. After installed Linux OS or MacOS, you can run this script to install dotfiles.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published