Added a little timestamp to my zsh prompt and it makes all the difference. Open ~/.zshrc
and add:
# prompt time
preexec () {
DATE=$(date +"%H:%M:%S")
C=$(($COLUMNS-10))
echo -e "\033[1A\033[${C}C ${DATE} "
}
Added a little timestamp to my zsh prompt and it makes all the difference. Open ~/.zshrc
and add:
# prompt time
preexec () {
DATE=$(date +"%H:%M:%S")
C=$(($COLUMNS-10))
echo -e "\033[1A\033[${C}C ${DATE} "
}