Makefile: add pickrand
[cmccabe-bin] / git-cur-branch.sh
index 6fa1ebc..1ab7fef 100755 (executable)
@@ -1,3 +1,3 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
-git branch | awk '/\*/ { print $2; }'
+git rev-parse --abbrev-ref HEAD