]> git.r.bdr.sh - rbdr/dotfiles/blame_incremental - install_dotfiles
Add essential provisioning
[rbdr/dotfiles] / install_dotfiles
... / ...
CommitLineData
1#!/usr/bin/env sh
2
3echo "Installing essential software"
4
5if command -v brew &> /dev/null; then
6 cat ./provisioning/brew_essential | xargs brew install
7else
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
15fi
16
17echo "Linking runcoms"
18
19# hush login
20ln -fns .dotfiles/hushlogin ~/.hushlogin
21
22# zsh runcoms
23ln -fns .dotfiles/runcoms/zshrc ~/.zshrc
24ln -fns .dotfiles/runcoms/zshenv ~/.zshenv
25ln -fns .dotfiles/runcoms/zprofile ~/.zprofile
26ln -fns .dotfiles/runcoms/zlogout ~/.zlogout
27ln -fns .dotfiles/runcoms/zlogin ~/.zlogin
28
29# Weechat
30ln -fns .dotfiles/weechat ~/.weechat
31
32# VIM
33ln -fns .dotfiles/vim ~/.vim
34ln -fns .dotfiles/vimrc ~/.vimrc
35
36# TMUX
37ln -fns .dotfiles/tmux.conf ~/.tmux.conf
38
39# Nethack
40ln -fns .dotfiles/nethackrc ~/.nethackrc
41
42# Git
43ln -fns .dotfiles/gitconfig ~/.gitconfig
44
45# Ctags
46ln -fns .dotfiles/ctags.d ~/.ctags.d
47
48# XDefaults
49ln -fns .dotfiles/XDefaults ~/.XDefaults
50
51# ripgrep
52ln -fns .dotfiles/rgignore ~/.rgignore
53
54# tmuxp
55ln -fns .dotfiles/tmuxp ~/.tmuxp
56
57# config dir
58mkdir -p ~/.config
59
60# kitty
61ln -fns ../.dotfiles/config/kitty ~/.config/kitty
62
63# nvim
64ln -fns ../.dotfiles/config/nvim ~/.config/nvim
65
66# config
67ln -fns ../.dotfiles/config/karabiner ~/.config/karabiner
68
69# Italics setup
70echo "Setting up terminfo"
71tic xterm-256color-italic.terminfo