Add scripts for installing

This commit is contained in:
Manuel Thalmann 2024-01-18 14:25:59 +01:00
commit 0f46c2f3a1
3 changed files with 20 additions and 0 deletions
scripts/Common/Config/vim

View file

@ -0,0 +1,8 @@
#!/bin/bash
indicator="set clipboard";
configFile="/etc/vimrc";
if ! grep "\b$indicator\b" "$configFile" > /dev/null
then
echo "$indicator+=unnamed,unnamedplus" | sudo tee /etc/vimrc > /dev/null;
fi;