Small tweaks

This commit is contained in:
Marko Korhonen 2025-07-22 11:52:19 -05:00
parent 5dcde94ba3
commit ca205762dc
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890
2 changed files with 23 additions and 8 deletions

View file

@ -8,7 +8,6 @@ return {
config = function()
vim.g.fugitive_gitea_domains = {
"https://git.korhonen.cc",
"https://git.rossum.fi",
}
-- Keybinds

View file

@ -209,13 +209,21 @@ update() {
}
plugins() {
echo "Updating NeoVim plugins to match lockfiles"
nvim --headless -c "Lazy! restore" -c 'TSUpdateSync' -c 'MasonLockRestore' -c 'qa'
zsh_plugins
nvim_plugins
}
zsh_plugins() {
echo "Updating zsh plugins"
zinit self-update
zinit update -p
}
nvim_plugins() {
echo "Updating NeoVim plugins to match lockfiles"
nvim --headless -c "Lazy! restore" -c 'TSUpdateSync' -c 'qa'
}
pip-update-installed() {
pip install --upgrade $(pip list --outdated | tail -n +3 | awk '{print $1}')
}
@ -268,6 +276,12 @@ update() {
plugins)
plugins
;;
nvim_plugins)
nvim_plugins
;;
zsh_plugins)
zsh_plugins
;;
{%@@ if profile == "Moria" @@%}
docker)
docker-update
@ -289,6 +303,8 @@ _update() {
"all:Update everything"
"dotfiles:Update dotfiles"
"plugins:Update plugins for NeoVim and ZSH"
"nvim_plugins:Update plugins for NeoVim"
"zsh_plugins:Update plugins for ZSH"
{%@@ if profile == "Moria" @@%}
"repo:Update packages in Korhonen AUR repository"
"docker:Update all Docker containers"