diff options
| author | Egor Tensin <egor@tensin.name> | 2025-11-14 15:45:15 +0100 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2025-11-14 15:45:15 +0100 |
| commit | 1a003f44c8d0e4b1e57e3b2daad923f1556947f0 (patch) | |
| tree | 2033e4911c40f24dc56cd31c64321d6704fd16ca | |
| parent | ssh: reorder authorized keys (diff) | |
| download | linux-home-1a003f44c8d0e4b1e57e3b2daad923f1556947f0.tar.gz linux-home-1a003f44c8d0e4b1e57e3b2daad923f1556947f0.zip | |
setup.sh: remove ~/.ssh/known_hosts
| -rwxr-xr-x | setup.sh | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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 |
