mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-10-10 03:21:16 +02:00
adding hastebin functionality to cli
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user