dotfiles/install.sh

44 lines
1.1 KiB
Bash
Raw Normal View History

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
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
2019-07-27 11:21:58 +02:00
rm -rf ~/.zsh* ~/.oh-my-zsh
# installing
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
git clone https://github.com/zsh-users/zsh-autosuggestions.git ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
2020-01-10 11:39:06 +01:00
git clone https://github.com/popstas/zsh-command-time.git ~/.oh-my-zsh/custom/plugins/command-time
2020-01-10 15:12:24 +01:00
git clone --recursive https://github.com/mengelbrecht/slimline.git ~/.oh-my-zsh/custom/themes/slimline
cp ~/.dotfiles/zsh/zshrc ~/.zshrc
2019-07-27 11:21:58 +02:00
touch ~/.zshrc.local
source ~/.zshrc