Skip to content

Commit

Permalink
fix backup alias, add update function
Browse files Browse the repository at this point in the history
  • Loading branch information
pad92 committed May 15, 2023
1 parent 8f4c0c2 commit 5c76e26
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .zshaliases
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,16 @@ fi

# Backup
[ -f "${HOME}/.dotfiles/bin/backup.sh" ] && \
alias backup_arch="${HOME}/.dotfiles/bin/backup.sh"
alias backup="${HOME}/.dotfiles/bin/backup.sh"

# Update
function arch_update {
yay -Syu --devel --timeupdate
if [ $(command -v flatpak) ]; then
flatpak update -y
flatpak uninstall --unused -y
fi
}

# Archive
function extract {
Expand Down

0 comments on commit 5c76e26

Please sign in to comment.