Add fish, scripts and git

This commit is contained in:
2021-02-14 21:37:08 +01:00
parent d0ad79e63b
commit 7d2921b09e
12 changed files with 295 additions and 0 deletions

20
install.sh Executable file
View File

@@ -0,0 +1,20 @@
#!/bin/bash
sudo -n apt-get update
sudo -n DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends fish vim
USER=`whoami`
sudo -n chsh $USER -s $(which fish)
echo "sv_SE.UTF-8 UTF-8" | sudo tee -a /etc/locale.gen
locale-gen
cat << EOF > ~/.gitconfig
[include]
path = ${HOME}/dotfiles/git/gitconfig
[core]
excludesfile = ${HOME}/dotfiles/git/gitignore_global
EOF
mkdir -p ~/.config/
ln -s ~/dotfiles/fish ~/.config/fish