Remove nvim

This commit is contained in:
Mo 2023-04-04 19:05:00 +02:00
parent 320f289ffe
commit ade422e684

View file

@ -1,24 +1,13 @@
#!/usr/bin/fish
dnf remove -y \
jq
set -l user admin
set -l user_home /home/$user
set -l user_config $user_home/.config
set -l fish_config $user_config/fish/config.fish
runuser -u $user -- nvim $fish_config
runuser -u $user -- vi $fish_config
source $fish_config
set -l nvim_config_dir $user_config/nvim
runuser -u $user -- mkdir -p $nvim_config_dir
runuser -u $user -- nvim $nvim_config_dir/init.lua
dnf install -y \
firewalld
systemctl enable --now firewalld
echo "net.ipv4.ip_forward=1" >>/etc/sysctl.conf
sysctl -p