Add scripts for installing
This commit is contained in:
parent
4dfeea15ac
commit
0f46c2f3a1
3 changed files with 20 additions and 0 deletions
12
scripts/Arch/Software/vim/install.sh
Executable file
12
scripts/Arch/Software/vim/install.sh
Executable file
|
@ -0,0 +1,12 @@
|
||||||
|
#!/bin/bash
|
||||||
|
pushd "${BASH_SOURCE%/*}" > /dev/null;
|
||||||
|
|
||||||
|
yay --noconfirm -Syu \
|
||||||
|
gvim \
|
||||||
|
vi-vim-symlink \
|
||||||
|
vim-wayland-clipboard-git \
|
||||||
|
;
|
||||||
|
|
||||||
|
. "../../../Common/Config/vim/install.sh";
|
||||||
|
|
||||||
|
popd > /dev/null;
|
8
scripts/Common/Config/vim/install.sh
Executable file
8
scripts/Common/Config/vim/install.sh
Executable 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;
|
0
scripts/Common/Software/nuke-usb/install.sh
Normal file → Executable file
0
scripts/Common/Software/nuke-usb/install.sh
Normal file → Executable file
Loading…
Reference in a new issue