-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
executable file
·35 lines (26 loc) · 1.03 KB
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#! /usr/bin/env bash
#
# Install script for repo.
#
# @author Charlie Revett (@revcd).
echo "> starting install.sh"
echo "> creating symlinks"
# Shell.
ln -sf ~/projects/github.com/revett/dotfiles/.zshrc ~/.zshrc
# Git.
ln -sf ~/projects/github.com/revett/dotfiles/.gitconfig ~/.gitconfig
ln -sf ~/projects/github.com/revett/dotfiles/.gitignore ~/.gitignore
# Ghostty.
mkdir -p ~/.config/ghostty
ln -sf ~/projects/github.com/revett/dotfiles/ghostty.toml ~/.config/ghostty/config
# Starship.
ln -sf ~/projects/github.com/revett/dotfiles/starship.toml ~/.config/starship.toml
# Vim.
ln -sf ~/projects/github.com/revett/dotfiles/.vimrc ~/.vimrc
# VS Code / Cursor.
ln -sf ~/projects/github.com/revett/dotfiles/vscode/keybindings.json ~/Library/Application\ Support/Code/User/
ln -sf ~/projects/github.com/revett/dotfiles/vscode/settings.json ~/Library/Application\ Support/Code/User/
# Golang CI Lint.
# https://golangci-lint.run/usage/configuration/
ln -sf ~/projects/github.com/revett/dotfiles/.golangci.yml ~/.golangci.yml
echo "> complete"