adding hastebin functionality to cli

master
TiynGER 5 years ago
parent 90d6046f40
commit ff3fc5584e

@ -27,6 +27,9 @@ srd() { find ~/ownCloud/* -type f | grep ".pdf" | fzf | xargs -r $READER ;}
# grep # grep
alias grep="grep --color=auto" alias grep="grep --color=auto"
# hastebin
haste() { a=$(cat); curl -X POST -s -d "$a" https://www.hastebin.martenkante.eu/documents | awk -F '"' '{print "https://www.hastebin.martenkante.eu/"$4}'; }
# ls(d) # ls(d)
alias l="lsd" alias l="lsd"
alias la="lsd -la" alias la="lsd -la"

Loading…
Cancel
Save