added debian support
This commit is contained in:
parent
96e0b25bab
commit
00ad6a0852
13
deb/git-setup.sh
Executable file
13
deb/git-setup.sh
Executable file
@ -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"
|
||||||
|
|
26
deb/kitty.conf
Normal file
26
deb/kitty.conf
Normal file
@ -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
|
||||||
|
|
11
deb/terminal-setup.sh
Executable file
11
deb/terminal-setup.sh
Executable file
@ -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
|
||||||
|
|
22
deb/vim-setup.sh
Executable file
22
deb/vim-setup.sh
Executable file
@ -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!
|
Loading…
x
Reference in New Issue
Block a user