Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/galacsh/config
- Owner: Galacsh
- Created: 2024-05-10T08:32:49.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-08-02T05:20:39.000Z (4 months ago)
- Last Synced: 2024-08-03T05:43:36.107Z (4 months ago)
- Topics: alacritty, ideavim, neovim, tmux, vim
- Language: Lua
- Homepage:
- Size: 99.6 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 "[email protected]:Galacsh/config.git"`