Dotfiles update 2025-12-25 16:52

This commit is contained in:
Aaron D. Lee
2025-12-25 16:52:47 -05:00
parent c3d3a78f3f
commit 7c37120c54
2 changed files with 242 additions and 23 deletions

View File

@@ -309,18 +309,6 @@ alias hist="history"
alias cls="clear"
alias q="exit"
# System upgrade with snapshot (Arch/CachyOS)
sys-update() {
local update_date=$(date +"%Y-%m-%d %H:%M")
if command -v snapper &>/dev/null; then
sudo snapper -c root create --description "System Update ${update_date}" --command "sudo pacman -Syu"
else
sudo pacman -Syu
fi
# Update package count for prompt if available
command -v checkupdates &>/dev/null && export UPDATE_PKG_COUNT=$(checkupdates 2>/dev/null | wc -l)
}
# Markdown viewer with glow
if command -v glow &>/dev/null; then
alias glow='glow -p'