annotate bin/runin @ 47:e487c33c89ae

Fixed exponential history file growth bug.
author samer
date Wed, 25 Mar 2015 12:40:42 +0000
parents 7d34f4b6df69
children
rev   line source
samer@0 1 #!/bin/sh
samer@0 2 # usage: runin <directory> <command> <args> ...
samer@0 3 # Runs <command> after cd-ing into <directory>
samer@0 4 cd $1
samer@0 5 shift 1
samer@0 6 stty ek
samer@0 7 exec $*
samer@0 8