feat: Add support for quick delete alias

This commit is contained in:
2026-03-24 12:46:38 +11:00
parent 8cf6ccbe99
commit 3b9d9a97e6

5
.zshrc
View File

@@ -100,9 +100,12 @@ alias vi="nvim"
alias ani-cli='FZF_DEFAULT_OPTS= ani-cli'
# Personal scripts
for cmd in opacity op blur music copy upload upload_latest_video ts hold message dockerstart dockerstop domains wallpaper cert mount_ssd umount_ssd; do
for cmd in opacity op blur music copy upload_latest_video ts hold message dockerstart dockerstop domains wallpaper cert mount_ssd umount_ssd; do
alias $cmd="$HOME/scripts/${cmd}.sh"
done
# Source the upload script instead of aliasing it
# This allows the 'delete' alias created inside to persist in your terminal
upload() { source "$HOME/scripts/upload.sh" "$@" }
alias venv="source $HOME/scripts/venv.sh"
alias upload_latest_video='$HOME/scripts/upload_latest_video.py'