-
Notifications
You must be signed in to change notification settings - Fork 0
/
install
executable file
·42 lines (30 loc) · 1.1 KB
/
install
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
#!/usr/bin/env sh
DOTFILES="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# Zsh
# ln -sf $DOTFILES/zsh/zshrc $HOME/.zshrc
# Neovim
rm -rf $HOME/.config/nvim
ln -s $DOTFILES/nvim $HOME/.config/nvim
# Tmux
ln -sf $DOTFILES/tmux/tmux.conf $HOME/.tmux.conf
# mkdir -p $HOME/.config/git
# touch $HOME/.config/git/user-config
# git config --file ~/.config/git/user-config user.name "Your Name"
# git config --file ~/.config/git/user-config user.email "[email protected]"
# Git
ln -sf $DOTFILES/git/gitconfig $HOME/.gitconfig
ln -sf $DOTFILES/git/gitignore_global $HOME/.gitignore_global
# Phpactor
# rm -rf $HOME/.config/phpactor
# ln -s $DOTFILES/phpactor $HOME/.config/phpactor
# Scripts
# mkdir -p $HOME/.local/bin
# ln -sf $DOTFILES/scripts/t $HOME/.local/bin/t
# ln -sf $DOTFILES/scripts/deliver $HOME/.local/bin/deliver
# NVM (Node Version Manager)
# mkdir -p $HOME/.nvm
# ln -sf $DOTFILES/nvm/default-packages $HOME/.nvm/default-packages
# Oh My Zsh
# if [ ! -d "$HOME/.oh-my-zsh" ]; then
# KEEP_ZSHRC=yes sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# fi