From 382c465e1f53194b6a94c57da368004056910bc8 Mon Sep 17 00:00:00 2001 From: "Dr. Amr Osman" Date: Fri, 29 Mar 2019 17:29:05 +0200 Subject: [PATCH] restore se and others --- .config/aliasrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.config/aliasrc b/.config/aliasrc index 5982a547..c7d58132 100644 --- a/.config/aliasrc +++ b/.config/aliasrc @@ -27,4 +27,8 @@ alias ka="killall" \ command -v nvim >/dev/null && alias vim="nvim" vimdiff="nvim -d" # Use neovim for vim if present. +shdl() { curl -O $(curl -s http://sci-hub.tw/"$@" | grep location.href | grep -o http.*pdf) ;} +se() { du -a ~/.scripts/* ~/.config/* | awk '{print $2}' | fzf | xargs -r $EDITOR ;} +sv() { vcopy "$(du -a ~/.scripts/* ~/.config/* | awk '{print $2}' | fzf)" ;} + vf() { fzf | xargs -r -I % $EDITOR % ;}