summaryrefslogtreecommitdiff
path: root/.config/shell/aliasrc
diff options
context:
space:
mode:
Diffstat (limited to '.config/shell/aliasrc')
-rw-r--r--.config/shell/aliasrc17
1 files changed, 8 insertions, 9 deletions
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 @@
1#!/bin/sh 1#!/bin/sh
2
3# Add color to commands 2# Add color to commands
4alias \ 3alias \
5 diff="diff --color=auto" \ 4 diff="diff --color=auto" \
@@ -14,7 +13,7 @@ alias \
14alias \ 13alias \
15 g='git' \ 14 g='git' \
16 ga='git add' \ 15 ga='git add' \
17 gc='git commit -e -m' \ 16 gc='git commit -m' \
18 gd='git diff' \ 17 gd='git diff' \
19 gl='git log' \ 18 gl='git log' \
20 gp='git push' \ 19 gp='git push' \
@@ -29,6 +28,8 @@ alias \
29 28
30# Shorten other commands 29# Shorten other commands
31alias \ 30alias \
31 ap="ansible-playbook -i inventory.yml -b --ask-vault-pass" \
32 calsync='CALCURSE_CALDAV_PASSWORD=$(pass show web/radicale.chudnick.com | head -1) calcurse-caldav' \
32 ports="ss -tuanp" \ 33 ports="ss -tuanp" \
33 py="python3" \ 34 py="python3" \
34 rb="/usr/sbin/reboot" \ 35 rb="/usr/sbin/reboot" \
@@ -36,19 +37,17 @@ alias \
36 sx="startx" \ 37 sx="startx" \
37 svm="sudo systemctl start libvirtd" \ 38 svm="sudo systemctl start libvirtd" \
38 v="vim" \ 39 v="vim" \
39 yta="youtube-dl -f bestaudio --download-archive ~/media/youtube/archive" \ 40 yta="yt-dlp -f bestaudio --remux-video ogg --download-archive ~/.local/share/yt-dlp/archive" \
40 ytv="youtube-dl -f bestvideo[height\<=1080]+bestaudio/best[height\<=1080] --download-archive ~/media/youtube/archive" \ 41 ytv="yt-dlp -f bestvideo\[height\<=1080\]+bestaudio/best\[height\<=1080\] --download-archive ~/.local/share/yt-dlp/archive" \
41 z="zathura" 42 z="zathura" \
43 revert='virsh snapshot-revert web --snapshotname $(virsh snapshot-current web --name)'
42 44
43# Start commands with specific options always 45# Start commands with specific options always
44alias \ 46alias \
45 abook="abook --config ~/.config/abook/abookrc --datafile ~/.local/share/abook/addressbook" \ 47 abook="abook --config ~/.config/abook/abookrc --datafile ~/.local/share/abook/addressbook" \
46 calcurse="calcurse -D ~/.config/calcurse" \
47 cp="cp -iv" \ 48 cp="cp -iv" \
48 ffmpeg="ffmpeg -hide_banner" \ 49 ffmpeg="ffmpeg -hide_banner" \
49 mv="mv -iv" \ 50 mv="mv -iv" \
50 mutt="firejail neomutt" 51 mutt="firejail neomutt"
51 neomutt="firejail neomutt" \ 52 neomutt="firejail neomutt" \
52 rm="rm -Iv" 53 rm="rm -Iv" \
53
54source $XDG_CONFIG_HOME/shell/private-aliasrc