30 lines
736 B
Bash
Executable File
30 lines
736 B
Bash
Executable File
#! /bin/bash
|
|
#
|
|
# clone_and_link.sh
|
|
# Copyright (C) 2016 fabian <fabian@fabi-laptop-arch>
|
|
#
|
|
# Distributed under terms of the MIT license.
|
|
#
|
|
shopt -s nullglob
|
|
|
|
sudo apt -y update
|
|
sudo apt -y dist-upgrade
|
|
sudo apt -y install curl zsh tmux virtualenvwrapper powerline fonts-powerline python3 python3-pip python3-pynvim
|
|
sudo snap install --classic nvim
|
|
./clone_and_link.sh; true
|
|
if [ $SHELL != "/bin/zsh" ]; then
|
|
chsh -s /usr/bin/zsh;
|
|
fi
|
|
|
|
for filename in zsh/.*_debian.example; do
|
|
ln -Tsfv $PWD/$filename $PWD/${filename:0:-15}
|
|
done
|
|
|
|
for filename in tmux/.*_debian.example; do
|
|
ln -Tsfv $PWD/$filename $PWD/${filename:0:-15}
|
|
done
|
|
|
|
for filename in nvim/.*_debian.example; do
|
|
ln -Tsfv $PWD/$filename $PWD/${filename:0:-15}
|
|
done
|