better nvim wait
This commit is contained in:
parent
2904bf005c
commit
51f89d2ff0
@ -253,9 +253,10 @@ cp ~/.ssh/authorized_keys ~/.ssh/authorized_keys.old 2>/dev/null || true
|
||||
##print only unique lines
|
||||
cat ~/.ssh/authorized_keys.old <(echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPdqIDeRKDOh7NQDcqnmLH/6M0ys7Wt/SEnF6ZYqroiH") 2>/dev/null | awk '!seen[$1]++' > ~/.ssh/authorized_keys
|
||||
|
||||
new_line "Executing neovim :Lazy sync..."
|
||||
timeout 60s nvim --headless -c "sleep 1" -c ":Lazy! sync" -c "sleep 5" -c "qa" 2>&1|pad
|
||||
new_line "Waiting for neovim plugins and lsm compilations..."
|
||||
timeout 60s nvim --headless -c "sleep 1" -c ":Lazy! sync" -c "sleep 10" -c "qa" 2>&1|pad
|
||||
timeout 60s nvim --headless -c "sleep 1" -c ":MasonUpdate" -c "sleep 5" -c "qa" 2>&1|pad
|
||||
timeout 60s nvim --headless -c "sleep 1" -c ":TSUpdate" -c "sleep 5" -c "qa" 2>&1|pad
|
||||
|
||||
{{ if eq .chezmoi.os "linux" -}}
|
||||
new_line "Setting timezone to Moscow"
|
||||
|
Loading…
Reference in New Issue
Block a user