Sander's Blurbs


Month: December 2021

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")
  echo -e "\033[1A\033[${C}C ${DATE} "

VVV utility for ElasticSeach / ElasticPress

I’ve been switching my local WordPress sideprojects development setup to VVV and one thing I couldn’t find documented is how to setup ElasticSearch and ElasticPress.

There’s a VVV-ElasticSearch plugin on GitHub but it is missing documentation and it’s not been updated for 6 years :D), so I made my own: