eeeeeyooEYO

master
Felix Pankratz 4 months ago
parent d5217f2d0a
commit 98b4e4b118

@ -0,0 +1,5 @@
{
"pyright.inlayHints.functionReturnTypes": false,
"pyright.inlayHints.variableTypes": false,
"pyright.inlayHints.parameterTypes": false
}

@ -1,4 +0,0 @@
set runtimepath^=~/.vim runtimepath+=~/.vim/after
let &packpath = &runtimepath
let g:python3_host_prog="/usr/bin/python3"
source ~/.vimrc

@ -40,7 +40,7 @@ set softtabstop=4
set expandtab
set scrolloff=5 " Scroll 5 lines from top/bottom
set list " show tabs and EOL
set listchars=tab:>>,trail:-,nbsp:+,eol:$
set listchars=tab:>>,trail:-,nbsp:+,multispace:∙
set number " Show line numbers
set rnu " relative line numbers
set cursorline

@ -0,0 +1,28 @@
#!/bin/bash
required_progs=('zsh' 'vim' 'xxd' 'dig' 'curl' 'wezterm')
files_to_link=('.vimrc' '.zsh' '.zshrc' '.wezterm' '.wezterm.lua')
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
check_and_backup() {
filepath="$1"
if [[ -f "$filepath" ]]; then
echo "Found existing $filepath, will backup to ~/shell_backup/$filepath"
mkdir -p ~/shell_backup/
cp "$filepath" ~/shell_backup/
fi
}
for prog in "${required_progs[@]}" ; do
if ! command -v "$prog" > /dev/null ; then
echo "WARN: $prog not installed or not in PATH."
fi
done
for file in "${files_to_link[@]}"; do
check_and_backup "$HOME/$file"
echo "ln -s $SCRIPT_DIR/$file $HOME/$file"
done
Loading…
Cancel
Save