]>
Commit | Line | Data |
---|---|---|
a0d257f0 BB |
1 | #!/usr/bin/env sh |
2 | ||
48400310 RBR |
3 | echo "Installing essential software" |
4 | ||
5 | if command -v brew &> /dev/null; then | |
6 | cat ./provisioning/brew_essential | xargs brew install | |
7 | else | |
8 | if command -v apt &> /dev/null; then | |
9 | echo "Warning: ASDF needs to be installed manually" | |
10 | cat ./provisioning/apt_essential | xargs apt install | |
11 | else | |
12 | echo "Error: No valid package manager. Make sure brew or apt are available." | |
13 | exit 1 | |
14 | fi | |
15 | fi | |
16 | ||
a0d257f0 BB |
17 | echo "Linking runcoms" |
18 | ||
64964100 | 19 | # hush login |
cd3948f4 | 20 | ln -fns .dotfiles/hushlogin ~/.hushlogin |
64964100 RBR |
21 | |
22 | # zsh runcoms | |
cd3948f4 RBR |
23 | ln -fns .dotfiles/runcoms/zshrc ~/.zshrc |
24 | ln -fns .dotfiles/runcoms/zshenv ~/.zshenv | |
25 | ln -fns .dotfiles/runcoms/zprofile ~/.zprofile | |
26 | ln -fns .dotfiles/runcoms/zlogout ~/.zlogout | |
27 | ln -fns .dotfiles/runcoms/zlogin ~/.zlogin | |
a0d257f0 BB |
28 | |
29 | # Weechat | |
cd3948f4 | 30 | ln -fns .dotfiles/weechat ~/.weechat |
a0d257f0 BB |
31 | |
32 | # VIM | |
cd3948f4 RBR |
33 | ln -fns .dotfiles/vim ~/.vim |
34 | ln -fns .dotfiles/vimrc ~/.vimrc | |
a0d257f0 BB |
35 | |
36 | # TMUX | |
cd3948f4 | 37 | ln -fns .dotfiles/tmux.conf ~/.tmux.conf |
a0d257f0 BB |
38 | |
39 | # Nethack | |
cd3948f4 | 40 | ln -fns .dotfiles/nethackrc ~/.nethackrc |
a0d257f0 BB |
41 | |
42 | # Git | |
cd3948f4 | 43 | ln -fns .dotfiles/gitconfig ~/.gitconfig |
a0d257f0 | 44 | |
7fd50ecb | 45 | # Ctags |
cd3948f4 | 46 | ln -fns .dotfiles/ctags.d ~/.ctags.d |
7fd50ecb | 47 | |
61396837 | 48 | # XDefaults |
cd3948f4 | 49 | ln -fns .dotfiles/XDefaults ~/.XDefaults |
61396837 | 50 | |
64964100 | 51 | # ripgrep |
cd3948f4 | 52 | ln -fns .dotfiles/rgignore ~/.rgignore |
64964100 | 53 | |
4b32a942 | 54 | # tmuxp |
cd3948f4 | 55 | ln -fns .dotfiles/tmuxp ~/.tmuxp |
4b32a942 | 56 | |
01a1f14f RBR |
57 | # config dir |
58 | mkdir -p ~/.config | |
59 | ||
4b32a942 | 60 | # kitty |
cd3948f4 | 61 | ln -fns ../.dotfiles/config/kitty ~/.config/kitty |
4b32a942 | 62 | |
3785c110 | 63 | # nvim |
cd3948f4 | 64 | ln -fns ../.dotfiles/config/nvim ~/.config/nvim |
01a1f14f | 65 | |
68ba6555 | 66 | # config |
cd3948f4 | 67 | ln -fns ../.dotfiles/config/karabiner ~/.config/karabiner |
68ba6555 | 68 | |
8c7cbd32 | 69 | # Italics setup |
a0d257f0 BB |
70 | echo "Setting up terminfo" |
71 | tic xterm-256color-italic.terminfo |