Fix upgrade function, add yubikey notification for ssh.

This commit is contained in:
Bartek Stalewski 2024-06-23 13:57:49 +02:00
parent 9d5b86589d
commit 4f0f05c5d6
No known key found for this signature in database
3 changed files with 14 additions and 0 deletions

View file

@ -48,3 +48,10 @@ function ud() {
for i in ${LOCAL_GIT_DIR}/dotfiles ${LOCAL_GIT_DIR}/zsh_modules/*; do git -C ${i} pull; done
nvim -c "lua require('lazy').sync({wait = true})"
}
function upgrade() {
case $(lsb_release -si) in
Gentoo) eix-sync && eix-update && emerge -avuNDU @world ;;
VoidLinux) xbps-install -Su && xbps-remove -RoO && xlocate -S ;;
esac
}