Skip to content

Latest commit

 

History

History
72 lines (50 loc) · 1.13 KB

README.md

File metadata and controls

72 lines (50 loc) · 1.13 KB

Configuration Files

Files in this repository are my configuration files.

To install:

curl -sSf https://raw.githubusercontent.com/Galacsh/config/main/install.sh | bash -s

What does install.sh do?

  1. Create "$HOME/.config" if doesn't exist:
if [[ ! -d "${HOME}/.config" ]]
  mkdir "${HOME}/.config"
fi
  1. Change directory to .config.
cd "${HOME}/.config"
  1. Clean up
rm -rf .git .gitignore README.md alacritty ideavim install.sh nvim vim
  1. Load files with git.
git init
git remote add origin "${repository}"
git fetch
git reset "origin/${branch}"
git restore .
  1. Create link(symbolic) of vim directory at ${HOME}/.vim.
rm -rf "${HOME}/.vim"
ln -s "${HOME}/.config/vim" "${HOME}/.vim"
  1. Download alacritty theme.
./alacritty/init.sh
  1. Download tmux theme.
./tmux/init.sh
  1. Create link(symbolic) of aliases.sh file at ${HOME}/.aliases.
rm "${aliases_file}"
ln -s "${config_dir}/aliases.sh" "${aliases_file}"

Important

To use SSH:
git remote set-url origin "git@github.com:Galacsh/config.git"