Kaynağa Gözat

Replace broken hastebin Bash function

Alois Mahdal 6 yıl önce
ebeveyn
işleme
920a7df54f
1 değiştirilmiş dosya ile 0 ekleme ve 9 silme
  1. 0
    9
      dotfiles/bash/main.bashrc

+ 0
- 9
dotfiles/bash/main.bashrc Dosyayı Görüntüle

@@ -95,15 +95,6 @@ gitcd() {
95 95
     cd "$(git rev-parse --show-toplevel)"
96 96
 }
97 97
 
98
-haste() {
99
-    #
100
-    # Send stdin to hastebin.com and print resulting URL
101
-    #
102
-    local a=$(cat)
103
-    curl -X POST -s -d "$a" http://hastebin.com/documents \
104
-      | awk -F '"' '{print "http://hastebin.com/"$4}'
105
-}
106
-
107 98
 clsz() {
108 99
     #
109 100
     # Clear screen and move the prompt to bottom