diff --git a/home/.chezmoiscripts/universal/run_onchange_after_24-vpn-darwin.sh.tmpl b/home/.chezmoiscripts/universal/run_onchange_after_24-vpn-darwin.sh.tmpl index 5d653b09..6f7eb111 100644 --- a/home/.chezmoiscripts/universal/run_onchange_after_24-vpn-darwin.sh.tmpl +++ b/home/.chezmoiscripts/universal/run_onchange_after_24-vpn-darwin.sh.tmpl @@ -28,11 +28,11 @@ # along with the secrets for the protonVPN OpenVPN (check vpn-linux.tmpl) # @description Backs up previous network settings to `/Library/Preferences/com.apple.networkextension.plist.old` before applying new VPN profiles -if [ -f /Library/Preferences/com.apple.networkextension.plist ]; then +if [ -f /Library/Preferences/com.apple.networkextension.plist ] && [ ! -f "/Library/Preferences/com.apple.networkextension.plist.old" ]; then logg info 'Backing up /Library/Preferences/com.apple.networkextension.plist to /Library/Preferences/com.apple.networkextension.plist.old' sudo cp -f /Library/Preferences/com.apple.networkextension.plist /Library/Preferences/com.apple.networkextension.plist.old else - logg info 'The /Library/Preferences/com.apple.networkextension.plist file does not exist yet' + logg info 'The /Library/Preferences/com.apple.networkextension.plist does not exist or is already backed up to com.apple.networkextension.plist.old' fi # @description Ensures the `/etc/wireguard` directory exists and has the lowest possible permission-level diff --git a/home/.chezmoiscripts/universal/run_onchange_after_26-system-vscode-node-modules.sh.tmpl b/home/.chezmoiscripts/universal/run_onchange_after_26-system-vscode-node-modules.sh.tmpl index b5adf06d..b9ffcb2a 100644 --- a/home/.chezmoiscripts/universal/run_onchange_after_26-system-vscode-node-modules.sh.tmpl +++ b/home/.chezmoiscripts/universal/run_onchange_after_26-system-vscode-node-modules.sh.tmpl @@ -70,7 +70,7 @@ if command -v code > /dev/null && command -v npm > /dev/null && [ -f "${XDG_DATA logg warn 'Possible error(s) were detected while installing linter fallback configurations to the home directory.' logg info "Exit code: $EXIT_CODE" else - logg success 'Installed linter fallback configuration node_modules' + logg info 'Installed linter fallback configuration node_modules' fi else logg info 'Skipping installation of fallback linter configurations because one or more of the dependencies is missing.' diff --git a/home/.chezmoiscripts/universal/run_onchange_after_30-sshd.sh.tmpl b/home/.chezmoiscripts/universal/run_onchange_after_30-sshd.sh.tmpl index 10b65d5a..b27a6c19 100644 --- a/home/.chezmoiscripts/universal/run_onchange_after_30-sshd.sh.tmpl +++ b/home/.chezmoiscripts/universal/run_onchange_after_30-sshd.sh.tmpl @@ -41,13 +41,13 @@ if [[ ! "$(test -d /proc && grep Microsoft /proc/version > /dev/null)" ]]; then logg info 'Running sudo systemsetup -setremotelogin on' && sudo systemsetup -setremotelogin on logg info 'Running sudo launchctl load -w /System/Library/LaunchDaemons/ssh.plist' && sudo launchctl load -w /System/Library/LaunchDaemons/ssh.plist 2> /dev/null logg info 'Running sudo launchctl stop com.openssh.sshd' && sudo launchctl stop com.openssh.sshd - logg info 'Running sudo launchctl start com.openssh.sshd' && sudo launchctl start com.openssh.sshd && logg success 'Successfully ran launchctl start com.openssh.sshd' + logg info 'Running sudo launchctl start com.openssh.sshd' && sudo launchctl start com.openssh.sshd && logg info 'Successfully ran launchctl start com.openssh.sshd' else # Linux logg info 'Enabling the sshd service' sudo systemctl enable sshd logg info 'Restarting the sshd service' - sudo systemctl restart sshd && logg success 'Successfully ran sudo systemctl restart sshd' + sudo systemctl restart sshd && logg info 'Successfully ran sudo systemctl restart sshd' fi else logg warn 'The /etc/ssh folder does not exist' diff --git a/home/.chezmoiscripts/universal/run_onchange_before_11-install-docker.sh.tmpl b/home/.chezmoiscripts/universal/run_onchange_before_11-install-docker.sh.tmpl index 901aec85..4f4291b8 100644 --- a/home/.chezmoiscripts/universal/run_onchange_before_11-install-docker.sh.tmpl +++ b/home/.chezmoiscripts/universal/run_onchange_before_11-install-docker.sh.tmpl @@ -212,7 +212,7 @@ if [ ! -d /Applications ] || [ ! -d /System ]; then if [ -n "$RUNSC_EXIT_CODE" ]; then logg error 'Failed to run the Docker hello-world container with runsc' && exit 5 else - logg success 'Docker successfully ran the hello-world container with runsc' + logg info 'Docker successfully ran the hello-world container with runsc' fi fi fi diff --git a/home/dot_config/vim/vimrc b/home/dot_config/vim/vimrc index 759f6abf..38ee233e 100644 --- a/home/dot_config/vim/vimrc +++ b/home/dot_config/vim/vimrc @@ -432,7 +432,7 @@ endif silent! call plug#begin('~/.local/share/vim/plugged') Plug '~/.local/share/vim/plugged/ale' -Plug '~/.local/share/vim/plugged/coc.nvim' +Plug '~/.local/share/vim/plugged/coc.nvim', {'do': 'npm ci'} Plug '~/.local/share/vim/plugged/copilot.vim' Plug '~/.local/share/vim/plugged/dockerfile.vim' Plug '~/.local/share/vim/plugged/editorconfig-vim'