From 9975a920820cd85e5b1d276bd1eae0dacf6b56a0 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Thu, 24 Dec 2015 14:30:25 +0100 Subject: Evaluate all `change` arguments sans the first one i.e. enable writing `change vim test` instead of `change "vim test"`. --- change | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/change b/change index 93e1077..5d1877a 100755 --- a/change +++ b/change @@ -1,11 +1,8 @@ #!/usr/bin/bash -export LD_PRELOAD=libChangeLog.so export CHANGE_LOG_TARGET="/tmp/$(basename $0).$$.tmp" -eval "$1" - -export LD_PRELOAD="" +LD_PRELOAD=libChangeLog.so eval "$@" cat $CHANGE_LOG_TARGET rm -f $CHANGE_LOG_TARGET -- cgit v1.2.3