1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-04-02 17:27:44 +02:00

adding hastebin functionality to cli

This commit is contained in:
TiynGER 2020-03-30 14:04:35 +02:00
parent 8a46802678
commit daee2f9638

View File

@ -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"