From 6ea97a1fea7e67e245650336aab082184d6082b4 Mon Sep 17 00:00:00 2001 From: Ivan Date: Wed, 1 Nov 2023 16:09:59 +0500 Subject: [PATCH] Add first scripts --- 01-update.sh | 4 ++++ 02-git.sh | 7 +++++++ 03-editor.sh | 8 ++++++++ 3 files changed, 19 insertions(+) create mode 100755 01-update.sh create mode 100644 02-git.sh create mode 100755 03-editor.sh diff --git a/01-update.sh b/01-update.sh new file mode 100755 index 0000000..828673a --- /dev/null +++ b/01-update.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +echo "Updating system..." +sudo pacman -Syu diff --git a/02-git.sh b/02-git.sh new file mode 100644 index 0000000..a5c361b --- /dev/null +++ b/02-git.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +sudo pacman -S git + +git config --global user.email "ordinarydev@protonmail.com" +git config --global user.name "Ivan Reshetnikov" +git config --global commit.gpgsign true diff --git a/03-editor.sh b/03-editor.sh new file mode 100755 index 0000000..b18ba05 --- /dev/null +++ b/03-editor.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +echo "Installing neovim..." +sudo pacman -S neovim + +echo "Cloning neovim configuration..." +mv ~/.config/nvim{,-old} +git clone git@github.com:ordinary-dev/ordinary-neovim.git ~/.config/nvim