diff --git a/deb/git-setup.sh b/deb/git-setup.sh new file mode 100755 index 0000000..8902918 --- /dev/null +++ b/deb/git-setup.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +# install git +sudo apt install git --assume-yes + +# setup keyring +sudo apt install libsecret-1-0 libsecret-1-dev --assume-yes +cd /usr/share/doc/git/contrib/credential/libsecret +sudo make +git config --global credential.helper /usr/share/doc/git/contrib/credential/libsecret/git-credential-libsecret + +tput setaf 2; printf "Follow these steps to setup a GPG key for your git instance:\nhttps://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/telling-git-about-your-signing-key\n" + diff --git a/deb/kitty.conf b/deb/kitty.conf new file mode 100644 index 0000000..e3f36d5 --- /dev/null +++ b/deb/kitty.conf @@ -0,0 +1,26 @@ +font_size 15 +cursor_shape underline + +# afterglow theme +background #202020 +foreground #d0d0d0 +cursor #d0d0d0 +selection_background #303030 +color0 #151515 +color8 #505050 +color1 #ac4142 +color9 #ac4142 +color2 #7e8d50 +color10 #7e8d50 +color3 #e5b566 +color11 #e5b566 +color4 #6c99ba +color12 #6c99ba +color5 #9e4e85 +color13 #9e4e85 +color6 #7dd5cf +color14 #7dd5cf +color7 #d0d0d0 +color15 #f5f5f5 +selection_foreground #202020 + diff --git a/deb/terminal-setup.sh b/deb/terminal-setup.sh new file mode 100755 index 0000000..0b40e61 --- /dev/null +++ b/deb/terminal-setup.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +# install kitty +sudo apt install kitty --assume-yes + +# copy kitty.conf +cp kitty.conf ~/.config/kitty/kitty.conf + +# update default terminal +sudo update-alternatives --config x-terminal-emulator + diff --git a/deb/vim-setup.sh b/deb/vim-setup.sh new file mode 100755 index 0000000..4cefad6 --- /dev/null +++ b/deb/vim-setup.sh @@ -0,0 +1,22 @@ +#!/bin/sh + +# install curl +sudo apt install curl --assume-yes + +# install vim +sudo apt install vim --assume-yes + +# install nodejs and npm for coc +sudo apt install nodejs npm --assume-yes + +# setup vim-plug +curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ + https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim + +# copy vimrc +cp ../vimrc ~/.vimrc + +# source copied vimrc +vim -c source ~/.vimrc -c qa! +# install plugins +vim -c PlugInstall vimtex -c coc.nvim -c PlugInstall lightline.vim -c PlugInstall nerdtree -c qa!