Automatic commit
[selector.git] / smarthist.sh
index 7b9967f..24b755d 100755 (executable)
@@ -17,11 +17,11 @@ EXE=./selector
 
 # We do not want a security breach
 
-OUT=/tmp/selector.out
+OUT=`mktemp /tmp/selector.XXXXXX`
 touch ${OUT}
 chmod go-rwx ${OUT}
 
-${EXE} ~/.bash_history
+${EXE} -o ${OUT} -f ~/.bash_history
 
 # We set the echo off