Remove nvim
This commit is contained in:
parent
320f289ffe
commit
ade422e684
1 changed files with 1 additions and 12 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue