-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit
More file actions
executable file
·30 lines (22 loc) · 759 Bytes
/
init
File metadata and controls
executable file
·30 lines (22 loc) · 759 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
#!/bin/zsh
COLOR_WHITE='\033[0;37m'
COLOR_B_PURPLE='\033[1;35m'
COLOR_DEFAULT='\033[0m'
function logger {
echo -e "${COLOR_B_PURPLE}[drosh:dotfiles]:${COLOR_WHITE} $1${COLOR_DEFAULT}"
}
logger "Creating symlinks for vim, zsh and git..."
# mkdir -p $HOME/.config/nvim
ln -sf $(pwd)/nvim $HOME/.config
ln -sf $(pwd)/src/bashrc $HOME/.bashrc
ln -sf $(pwd)/src/gitconfig $HOME/.gitconfig
ln -sf $(pwd)/src/zpreztorc $HOME/.zpreztorc
ln -sf $(pwd)/src/zshrc $HOME/.zshrc
# ln -sf $(pwd)/src/vimrc_background $HOME/.vimrc_background
# ln -sf $(pwd)/src/tmux.conf $HOME/.tmux.conf
logger "Installing vim-plug and do PlugInstall..."
nvim
DEFAULT_THEME=base16_tomorrow-night
logger "Try to set ${DEFAULT_THEME}"
eval $DEFAULT_THEME
logger "Job's done! ;)"