Small tweaks
This commit is contained in:
parent
5dcde94ba3
commit
ca205762dc
2 changed files with 23 additions and 8 deletions
|
@ -8,7 +8,6 @@ return {
|
||||||
config = function()
|
config = function()
|
||||||
vim.g.fugitive_gitea_domains = {
|
vim.g.fugitive_gitea_domains = {
|
||||||
"https://git.korhonen.cc",
|
"https://git.korhonen.cc",
|
||||||
"https://git.rossum.fi",
|
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Keybinds
|
-- Keybinds
|
||||||
|
|
|
@ -209,13 +209,21 @@ update() {
|
||||||
}
|
}
|
||||||
|
|
||||||
plugins() {
|
plugins() {
|
||||||
echo "Updating NeoVim plugins to match lockfiles"
|
zsh_plugins
|
||||||
nvim --headless -c "Lazy! restore" -c 'TSUpdateSync' -c 'MasonLockRestore' -c 'qa'
|
nvim_plugins
|
||||||
|
}
|
||||||
|
|
||||||
|
zsh_plugins() {
|
||||||
echo "Updating zsh plugins"
|
echo "Updating zsh plugins"
|
||||||
zinit self-update
|
zinit self-update
|
||||||
zinit update -p
|
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-update-installed() {
|
||||||
pip install --upgrade $(pip list --outdated | tail -n +3 | awk '{print $1}')
|
pip install --upgrade $(pip list --outdated | tail -n +3 | awk '{print $1}')
|
||||||
}
|
}
|
||||||
|
@ -268,6 +276,12 @@ update() {
|
||||||
plugins)
|
plugins)
|
||||||
plugins
|
plugins
|
||||||
;;
|
;;
|
||||||
|
nvim_plugins)
|
||||||
|
nvim_plugins
|
||||||
|
;;
|
||||||
|
zsh_plugins)
|
||||||
|
zsh_plugins
|
||||||
|
;;
|
||||||
{%@@ if profile == "Moria" @@%}
|
{%@@ if profile == "Moria" @@%}
|
||||||
docker)
|
docker)
|
||||||
docker-update
|
docker-update
|
||||||
|
@ -289,6 +303,8 @@ _update() {
|
||||||
"all:Update everything"
|
"all:Update everything"
|
||||||
"dotfiles:Update dotfiles"
|
"dotfiles:Update dotfiles"
|
||||||
"plugins:Update plugins for NeoVim and ZSH"
|
"plugins:Update plugins for NeoVim and ZSH"
|
||||||
|
"nvim_plugins:Update plugins for NeoVim"
|
||||||
|
"zsh_plugins:Update plugins for ZSH"
|
||||||
{%@@ if profile == "Moria" @@%}
|
{%@@ if profile == "Moria" @@%}
|
||||||
"repo:Update packages in Korhonen AUR repository"
|
"repo:Update packages in Korhonen AUR repository"
|
||||||
"docker:Update all Docker containers"
|
"docker:Update all Docker containers"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue