Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/galacsh/config

Personal configuration files.
https://github.com/galacsh/config

alacritty ideavim neovim tmux vim

Last synced: 3 days ago
JSON representation

Personal configuration files.

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 "[email protected]:Galacsh/config.git"`