https://github.com/galacsh/config
Personal configuration files.
https://github.com/galacsh/config
alacritty ideavim neovim tmux vim
Last synced: 2 months ago
JSON representation
Personal configuration files.
- Host: GitHub
- URL: https://github.com/galacsh/config
- Owner: Galacsh
- Created: 2024-05-10T08:32:49.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-07-05T07:58:38.000Z (12 months ago)
- Last Synced: 2025-07-05T08:39:27.865Z (12 months ago)
- Topics: alacritty, ideavim, neovim, tmux, vim
- Language: Vim Script
- Homepage:
- Size: 112 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Configuration Files
Files in this repository are my configuration files.
To install:
```shell
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:
```shell
if [[ ! -d "${HOME}/.config" ]]
mkdir "${HOME}/.config"
fi
```
2. Change directory to `.config`.
```shell
cd "${HOME}/.config"
```
3. Clean up
```shell
rm -rf .git .gitignore README.md alacritty ideavim install.sh nvim vim
```
4. Load files with git.
```shell
git init
git remote add origin "${repository}"
git fetch
git reset "origin/${branch}"
git restore .
```
5. Create link(symbolic) of `vim` directory at `${HOME}/.vim`.
```shell
rm -rf "${HOME}/.vim"
ln -s "${HOME}/.config/vim" "${HOME}/.vim"
```
6. Download alacritty theme.
```shell
./alacritty/init.sh
```
7. Download tmux theme.
```shell
./tmux/init.sh
```
8. Create link(symbolic) of `aliases.sh` file at `${HOME}/.aliases`.
```shell
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"`