dcsimg
 

Enable Timestamp For History Command In Zsh In Linux

Monday Nov 30th 2020 by Senthilkumar

This brief guide explains how to enable timestamp for history command in Zsh shell in Linux operating system.

You can show the date and time stamps in Bash history output in Linux by using the HISTTIMEFORMAT environment variable. However, you don't need to set any env variable in Zsh. Zsh, by default, has a few built-in flags to show the date and time in history command output.

Complete Story

Home
Mobile Site | Full Site