소스 검색

Replace broken hastebin Bash function

Alois Mahdal 7 년 전
부모
커밋
920a7df54f
1개의 변경된 파일0개의 추가작업 그리고 9개의 파일을 삭제
  1. 0
    9
      dotfiles/bash/main.bashrc

+ 0
- 9
dotfiles/bash/main.bashrc 파일 보기

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