history cmd timestamp fixed

This commit is contained in:
Francois B 2018-03-19 06:27:59 +01:00
parent e16ff94aa9
commit 927ebf8db3

View file

@ -1001,10 +1001,10 @@ function addScreenfetchBashrc () {
# #
# cli history cmd timestamp enable # cli history cmd timestamp enable
#FIXME: #
function enableHistoryTS () { function enableHistoryTS () {
typeset ret_code typeset ret_code
printf "CLI History TimeStamp enabling " printf "Enabling CLI History TimeStamp "
echo "export HISTTIMEFORMAT='%F %T '" | tee -a /home/$myHomedir/.bashrc &>> $logFile echo "export HISTTIMEFORMAT='%F %T '" | tee -a /home/$myHomedir/.bashrc &>> $logFile
ret_code=$? ret_code=$?
retCode $ret_code retCode $ret_code