summaryrefslogtreecommitdiff
path: root/ranpas
diff options
context:
space:
mode:
authorTslil Clingman <hiato1@gmail.com>2015-02-01 23:03:05 +0200
committerTslil Clingman <hiato1@gmail.com>2015-02-01 23:03:05 +0200
commitce6884394a82f6b377ec1d659ce59be92fdf5f7c (patch)
treec07aaf8d6571b145407c24d7b96d394a75d45dc2 /ranpas
parent2a30d923196c135f5d02e56e3e840d2d1fb3140e (diff)
Changed to /usr/bin/env and added non-zsh modde to vcs
Diffstat (limited to 'ranpas')
-rwxr-xr-xranpas2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranpas b/ranpas
index 4ee1188..326357d 100755
--- a/ranpas
+++ b/ranpas
@@ -1,5 +1,5 @@
# Read random pastes from pastie.org ;)
-#!/bin/bash
+#!/usr/bin/env bash
echo Fetching paste list ...
lst=`wget pastie.org/pastes -q -O - | grep "id='paste" | head -n 1 | sed "s/.*id='paste_\([0-9]*\)'.*/\1/"`