diff options
-rw-r--r-- | dotfiles/.config/zsh/shortcuts | 6 | ||||
-rwxr-xr-x | dotfiles/.local/bin/imgurl | 2 |
2 files changed, 7 insertions, 1 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 diff --git a/dotfiles/.local/bin/imgurl b/dotfiles/.local/bin/imgurl index 2a2cb37..f9cad49 100755 --- a/dotfiles/.local/bin/imgurl +++ b/dotfiles/.local/bin/imgurl @@ -2,5 +2,5 @@ [ -z "$1" ] && exit -setsid curl -sL "$1" > "/tmp/$(echo "$1" | sed "s/.*\///")" && sxiv -a "/tmp/$(echo "$1" | sed "s/.*\///")" >/dev/null 2>&1 & +setsid curl -sL "$1" > "/tmp/$(echo "$1" | sed "s/.*\///")" && nsxiv -a "/tmp/$(echo "$1" | sed "s/.*\///")" >/dev/null 2>&1 & |