changed to xdg-open, added URL output
1 files changed, 2 insertions(+), 2 deletions(-)

M dpaste.sh
M dpaste.sh +2 -2
@@ 39,6 39,6 @@ echo "Paste your content now, ^D to subm
 
 # make the API call
 url=$(curl -s -F "content=<-" $params http://dpaste.com/api/v2/)
+echo "---\n$url"
 # open the resulting paste
-open $url
-
+xdg-open $url