From 1a003f44c8d0e4b1e57e3b2daad923f1556947f0 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 14 Nov 2025 15:45:15 +0100 Subject: setup.sh: remove ~/.ssh/known_hosts --- setup.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'setup.sh') diff --git a/setup.sh b/setup.sh index b331eb0..29038a7 100755 --- a/setup.sh +++ b/setup.sh @@ -50,10 +50,19 @@ links_update() { links-chmod go-w } +post_update() { + # Update the vim plugins: + "$script_dir/vim_plugins.sh" + + # Remove ~/.ssh/known_hosts, I don't use it (and have a corresponding + # setting in ~/.ssh/config): + rm -f -- "$HOME/.ssh/known_hosts" +} + main() { config_links_in_path links_update - "$script_dir/vim_plugins.sh" + post_update } main -- cgit v1.3