-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstowsetup
More file actions
executable file
·28 lines (26 loc) · 1011 Bytes
/
stowsetup
File metadata and controls
executable file
·28 lines (26 loc) · 1011 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
#!/bin/bash
DIR=$(dirname "$0")
VS_CODE_DIR="${HOME}/Library/Application Support/Code/User"
ZSH_THEME_DIR="${HOME}/.zprezto/modules/prompt/functions"
RESOLVER_DIR="/etc/resolver"
mkdir -p "${ZSH_THEME_DIR}"
mkdir -p "${VS_CODE_DIR}"
sudo mkdir -p "${RESOLVER_DIR}"
stow -d "${DIR:-.}" -t "${HOME}" bash
stow -d "${DIR:-.}" -t "${HOME}" claude
stow -d "${DIR:-.}" -t "${HOME}" git
stow -d "${DIR:-.}" -t "${HOME}" gpg
stow -d "${DIR:-.}" -t "${HOME}" karabiner
stow -d "${DIR:-.}" -t "${HOME}" kerberos
stow -d "${DIR:-.}" -t "${HOME}" lftp
stow -d "${DIR:-.}" -t "${HOME}" maven
stow -d "${DIR:-.}" -t "${HOME}" powershell
stow -d "${DIR:-.}" -t "${HOME}" sdkman
stow -d "${DIR:-.}" -t "${HOME}" ssh
stow -d "${DIR:-.}" -t "${HOME}" sshrc
stow -d "${DIR:-.}" -t "${HOME}" tmux
stow -d "${DIR:-.}" -t "${HOME}" vim
stow -d "${DIR:-.}" -t "${HOME}" zsh
sudo stow -d "${DIR:-.}" -t "${RESOLVER_DIR}" dns-resolver
stow -d "${DIR:-.}" -t "${ZSH_THEME_DIR}" zsh_theme
stow -d "${DIR:-.}" -t "${VS_CODE_DIR}" vscode