From 12ce8bdd65d3b5fcd6e8227eaecd5f772a90f8da Mon Sep 17 00:00:00 2001
From: Sam Chudnick <sam@chudnick.com>
Date: Sun, 11 Jun 2023 08:00:24 -0400
Subject: Configuration file updates and additions.

---
 .config/shell/aliasrc | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

(limited to '.config/shell/aliasrc')

diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc
index eb39dd0..a073b76 100644
--- a/.config/shell/aliasrc
+++ b/.config/shell/aliasrc
@@ -1,5 +1,4 @@
 #!/bin/sh
-
 # Add color to commands 
 alias \
 	diff="diff --color=auto" \
@@ -14,7 +13,7 @@ alias \
 alias \
 	g='git' \
 	ga='git add' \
-	gc='git commit -e -m' \
+	gc='git commit -m' \
 	gd='git diff' \
 	gl='git log' \
 	gp='git push' \
@@ -29,6 +28,8 @@ alias \
 
 # Shorten other commands
 alias \
+	ap="ansible-playbook -i inventory.yml -b --ask-vault-pass" \
+	calsync='CALCURSE_CALDAV_PASSWORD=$(pass show web/radicale.chudnick.com | head -1) calcurse-caldav' \
     ports="ss -tuanp" \
     py="python3" \
     rb="/usr/sbin/reboot" \
@@ -36,19 +37,17 @@ alias \
     sx="startx" \
     svm="sudo systemctl start libvirtd" \
     v="vim" \
-    yta="youtube-dl -f bestaudio --download-archive ~/media/youtube/archive" \
-    ytv="youtube-dl -f bestvideo[height\<=1080]+bestaudio/best[height\<=1080] --download-archive ~/media/youtube/archive" \
-	z="zathura"
+    yta="yt-dlp -f bestaudio --remux-video ogg --download-archive ~/.local/share/yt-dlp/archive" \
+    ytv="yt-dlp -f bestvideo\[height\<=1080\]+bestaudio/best\[height\<=1080\] --download-archive ~/.local/share/yt-dlp/archive" \
+	z="zathura" \
+	revert='virsh snapshot-revert web --snapshotname $(virsh snapshot-current web --name)'
 
 # Start commands with specific options always
 alias \
 	abook="abook --config ~/.config/abook/abookrc --datafile ~/.local/share/abook/addressbook" \
-	calcurse="calcurse -D ~/.config/calcurse" \
 	cp="cp -iv" \
 	ffmpeg="ffmpeg -hide_banner" \
     mv="mv -iv" \
 	mutt="firejail neomutt"
 	neomutt="firejail neomutt" \
-    rm="rm -Iv"
-
-source $XDG_CONFIG_HOME/shell/private-aliasrc
+    rm="rm -Iv" \
-- 
cgit v1.2.3