Add fish, scripts and git
This commit is contained in:
20
install.sh
Executable file
20
install.sh
Executable 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
|
||||
Reference in New Issue
Block a user