2012-11-21 16:25:02 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# cleaning
|
2016-12-19 17:06:38 +01:00
|
|
|
rm -rf ~/.bash* ~/.profile
|
|
|
|
rm -rf ~/.dotfiles
|
2012-11-21 16:25:02 +01:00
|
|
|
|
2016-12-30 23:45:49 +01:00
|
|
|
# repo
|
|
|
|
git clone https://bitbucket.org/ftpd/dotfiles.git ~/.dotfiles
|
2013-08-19 13:53:20 +02:00
|
|
|
|
2016-12-19 17:06:38 +01:00
|
|
|
## vim
|
|
|
|
# cleaning
|
2018-05-16 12:33:05 +02:00
|
|
|
rm -rf ~/.vim*
|
2018-05-16 12:31:12 +02:00
|
|
|
rm -rf ~/.config/nvim
|
2016-12-19 17:06:38 +01:00
|
|
|
# installing
|
2016-06-14 13:31:47 +02:00
|
|
|
mkdir -p ~/.config
|
2018-05-16 12:33:05 +02:00
|
|
|
ln -sf ~/.dotfiles/vim ~/.vim
|
|
|
|
ln -sf ~/.dotfiles/vim/init.vim ~/.vimrc
|
2012-11-21 16:25:02 +01:00
|
|
|
|
2016-12-19 17:06:38 +01:00
|
|
|
## .gitignore
|
|
|
|
# cleaning
|
|
|
|
rm -rf ~/.gitignore
|
|
|
|
# installing
|
2012-11-21 18:05:14 +01:00
|
|
|
ln -sf ~/.dotfiles/gitignore ~/.gitignore
|
2016-06-16 14:47:07 +02:00
|
|
|
git config --global core.excludesfile ~/.gitignore
|
2013-08-19 11:42:09 +02:00
|
|
|
|
2016-12-19 17:06:38 +01:00
|
|
|
## tmux
|
|
|
|
# cleaning
|
|
|
|
rm -rf ~/.tmux.conf
|
|
|
|
# installing
|
2013-08-19 11:42:09 +02:00
|
|
|
ln -sf ~/.dotfiles/tmux.conf ~/.tmux.conf
|
2016-06-16 17:26:43 +02:00
|
|
|
|
2019-07-27 11:21:58 +02:00
|
|
|
## zsh
|
2016-12-19 17:06:38 +01:00
|
|
|
# cleaning
|
2020-01-10 16:11:15 +01:00
|
|
|
rm -rf ~/.zsh ~/.zshrc
|
|
|
|
mkdir -p ~/.zsh/plugins ~/.zsh/themes
|
2020-01-10 15:16:44 +01:00
|
|
|
# dependiences
|
2020-01-10 16:11:15 +01:00
|
|
|
git clone https://github.com/zsh-users/zsh-autosuggestions.git ~/.zsh/plugins/zsh-autosuggestions
|
|
|
|
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.zsh/plugins/zsh-syntax-highlighting
|
|
|
|
git clone --recursive https://github.com/mengelbrecht/slimline.git ~/.zsh/themes/slimline
|
2020-01-10 15:16:44 +01:00
|
|
|
# install
|
2020-01-10 16:11:15 +01:00
|
|
|
ln -sf ~/.dotfiles/zsh/zshrc ~/.zshrc
|
2019-07-27 11:21:58 +02:00
|
|
|
touch ~/.zshrc.local
|