From 8de009d111bdc7930216a348b3ce515f9b17b4f6 Mon Sep 17 00:00:00 2001 From: Dominic Masters Date: Thu, 6 Jan 2022 13:07:34 -0800 Subject: [PATCH] Add SSH key to install --- dotenv.sh | 5 +++++ scripts/vimrc-config | 3 +++ scripts/vimrc-plugins | 3 --- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/dotenv.sh b/dotenv.sh index 1991c98..7e7e9cd 100755 --- a/dotenv.sh +++ b/dotenv.sh @@ -9,6 +9,11 @@ fi # Grant SH execute chmod +x ./**/*.sh +# Setup SSH key +mkdir -p ~/.ssh +echo "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAhF9DPXFN207BJrScSdWCMP+S5iOHKa/9KRBSMx4iqcc3YgGJttgMdTqrlJwTKDZgxmzc9LSBGJlkY5fQaYRyH4kRTaBs6oyYbEeo9b85NF8NZ1cpeMA3qORRIkWlDeSYIBhPmwORqPJjXDIEp04eza/ujZmOLGO412h4+Z6RLjUq7gdQEB9o9v9hz/9rV+0IRhie4PumffWZ94ZyAixrgsUGJqDyfLo+mTSEgXOYAJgvqfZ5+q3tke2MraGVmjZhinBfUZp608VqA56bG6KRvJX1uz8TGuReG4UCiWQX/waTxJRc80FySjnR7+1uzB7OwGWtiN0B6/lOd2Gt8QufKQ== rsa-key-20190523" >> ~/.ssh/authorized_keys +chmod 0700 ~/.ssh/authorized_keys + # Arch Linux Setup if [ -f "/etc/arch-release" ]; then ./scripts/install-arch.sh diff --git a/scripts/vimrc-config b/scripts/vimrc-config index ec35f5d..2745dd2 100644 --- a/scripts/vimrc-config +++ b/scripts/vimrc-config @@ -46,3 +46,6 @@ autocmd BufEnter * if winnr('$') == 1 && exists('b:NERDTree') && b:NERDTree.isTa " If another buffer tries to replace NERDTree, put it in the other window, and bring back NERDTree. autocmd BufEnter * if bufname('#') =~ 'NERD_tree_\d\+' && bufname('%') !~ 'NERD_tree_\d\+' && winnr('$') > 1 | \ let buf=bufnr() | buffer# | execute "normal! \w" | execute 'buffer'.buf | endif + +" Hide line numbers within term tabs. +autocmd TermOpen * setlocal nonumber norelativenumber \ No newline at end of file diff --git a/scripts/vimrc-plugins b/scripts/vimrc-plugins index 825dbd0..e832c1c 100644 --- a/scripts/vimrc-plugins +++ b/scripts/vimrc-plugins @@ -2,9 +2,6 @@ call plug#begin('~/.vim/plugged') Plug 'tpope/vim-sensible' Plug 'blackbirdtheme/vim' -"Plug 'sheerun/vim-polyglot' -"Plug 'epmor/hotline-vim' - Plug 'preservim/nerdtree', { 'on': 'NERDTreeToggle' } call plug#end()