dotfiles/scripts/setup_minimal.sh
Michael Grote 2663f8a594 setup: add git and ssh symlinks
Signed-off-by: Michael Grote <michael.grote@posteo.de>
2024-11-12 22:21:44 +01:00

21 lines
649 B
Bash
Executable file

#!/bin/bash
# Aufruf: wget https://git.mgrote.net/mg/dotfiles/raw/branch/master/scripts/setup_minimal.sh && bash ./setup_minimal.sh
cd ~
sudo apt update && sudo apt install git tmux vim ripgrep ca-certificates curl wget tree keychain
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
git clone https://git.mgrote.net/mg/dotfiles ~/dotfiles
ln -s ~/dotfiles/.tmux.conf ~/.tmux.conf
ln -s ~/dotfiles/.vimrc ~/.vimrc
ln -s ~/dotfiles/.gitconfig ~/.gitconfig
ln -s ~/dotfiles/.ssh ~/.ssh
ln -s ~/dotfiles/vim/spell/ ~/.vim/
echo "source ~/dotfiles/.bash_extra" >> ~/.bashrc
vim +PluginInstall +qall
source ~/.bashrc