view bin/runin @ 47:e487c33c89ae

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