-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·43 lines (36 loc) · 1013 Bytes
/
Copy pathinstall.sh
File metadata and controls
executable file
·43 lines (36 loc) · 1013 Bytes
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
36
37
38
39
40
41
42
43
#!/bin/bash
set -e -x
link() {
local src=$1
local dest=$2
[ -e "$dest" ] && mv "$dest" "${dest}.$(date +%Y%m%d-%H%M%S)-bak"
ln -s "$src" "$dest"
}
dotfiles="bashrc bash_profile bash_aliases bash_ps1 skhdrc gitconfig tmux.conf"
for f in $dotfiles; do
link "$PWD/$f" ~/."$f"
done
mkdir -p ~/.bashrc.d ~/.config ~/.claude
configfiles="nvim ghostty"
for f in $configfiles; do
link "$PWD/$f" ~/.config/"$f"
done
link "$PWD/bin" ~/bin
link "$PWD/assets" ~/assets
link "$PWD/claude-settings.json" ~/.claude/settings.json
link "$PWD/commands" ~/.claude/commands
link "$PWD/skills" ~/.claude/skills
#/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install bash-completion
brew install tig
brew install asdf
brew install gh
brew install tmux
brew install kubectl
brew install fd
brew install ag
brew install rg
brew install fzf
brew install terminal-notifier
# install tpm
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm