aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config/zsh
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2022-01-10 06:50:35 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2022-01-10 06:50:35 +0300
commit66ebc9c033ebd1c0cb0f83e5b962884446198587 (patch)
tree623de12234245b7c163e977aefff89c109827268 /dotfiles/.config/zsh
parent208b30e7c76925517c7e2ebae65e21deff82aa83 (diff)
downloadswayrice-66ebc9c033ebd1c0cb0f83e5b962884446198587.tar.gz
swayrice-66ebc9c033ebd1c0cb0f83e5b962884446198587.zip
smol changes
zsh shortcuts for rsync; sxiv -> nsxiv imgurl
Diffstat (limited to 'dotfiles/.config/zsh')
-rw-r--r--dotfiles/.config/zsh/shortcuts6
1 files changed, 6 insertions, 0 deletions
diff --git a/dotfiles/.config/zsh/shortcuts b/dotfiles/.config/zsh/shortcuts
index 9224957..e8edb18 100644
--- a/dotfiles/.config/zsh/shortcuts
+++ b/dotfiles/.config/zsh/shortcuts
@@ -28,6 +28,12 @@ alias calc="python -q -i -c 'import math'"
alias spw="setsid $TERMINAL >/dev/null 2>&1 &"
alias testinet="ping -c2 example.com"
+# rsync shortcuts
+alias rs="rsync -avh"
+alias rsn="rsync -avhn"
+alias rsd="rsync -avh --delete"
+alias rsdn="rsync -avhn --delete"
+
# Fuzzy finder
alias fzo='op "$(find . -type d -path "*/\.*" -prune -o -not -name ".*" -type f | fzf)"'
if [ -f /usr/share/fzf/completion.zsh ]; then