Skip to content

A portable collection of configurations and scripts

License

Notifications You must be signed in to change notification settings

ecwpz91/dotfiles

Repository files navigation

Dotfiles

A dotfile (plural dotfiles) is generally any file whose name begins with a full stop, or starts with a dot.

Commonly found on Unix-like systems, they provide user specific customization, and are analogous to Batman's utility belt.

To get started on Red Hat and CentOS (YUM), or Fedora (DNF) use the instructions below.

Install Using Git

2 Install Git on Linux

Either via Binary, or Package Manager (preferred).

5 Fork the dotfiles repo

Forking dotfiles is a simple two-step process.

  1. On GitHub, navigate to the https://github.com/ecwpz91/dotfiles repo.
  2. In the top-right corner of the page, click Fork.

That's it! Now, you have a fork of the original https://github.com/ecwpz91/dotfiles repo.

6 Create a local clone of your fork

Right now, you have a fork of the dotfiles repo, but you don't have the files in that repo on your computer.

Open a new terminal to copy & paste the following, which will create a clone of your fork locally on your computer.

DIRPATH="${HOME}/github" \
&& GITUSER="ecwpz91" \
&& GITREPO="git@github.com:${GITUSER}/dotfiles.git" \
&& ARCHIVE="$(printf "%s" "${GITREPO##*/}")" \
&& mkdir -p "${DIRPATH}/${GITUSER}" \
&& pushd "${DIRPATH}/${GITUSER}" &>/dev/null \
&& git clone "${GITREPO}" \
&& git remote add upstream https://github.com/ecwpz91/dotfiles \
&& git remote set-url --push upstream no_push \
&& popd  &>/dev/null \
&& unset DIRPATH GITUSER GITREPO ARCHIVE temp

No git? No problem!

Open a new terminal to copy & paste the following, which will download and extract the repository into your local ~/Downloads folder.

DIRPATH="${HOME}/Downloads/dotfiles" \
&& GITUSER="ecwpz91" \
&& GITREPO="https://github.com/${GITUSER}/dotfiles/archive/master.zip" \
&& ARCHIVE="$(printf "%s" "${GITREPO##*/}")" \
&& curl -LO "${GITREPO}" \
&& temp="$(mktemp -d)" \
&& unzip -d "${temp}" "${ARCHIVE}" \
&& mkdir -p "${DIRPATH}" \
&& mv "${temp}"/*/* "${DIRPATH}" \
&& rm -rf "${temp}" "${ARCHIVE}" \
&& unset DIRPATH GITUSER GITREPO ARCHIVE temp

About

A portable collection of configurations and scripts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published