1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-03-28 05:57:45 +01:00

adding hastebin functionality to cli

This commit is contained in:
TiynGER 2020-03-30 14:04:35 +02:00
parent 90d6046f40
commit ff3fc5584e

@ -27,6 +27,9 @@ srd() { find ~/ownCloud/* -type f | grep ".pdf" | fzf | xargs -r $READER ;}
# grep
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)
alias l="lsd"
alias la="lsd -la"