Created
August 25, 2020 03:39
-
-
Save raghur/cfd414ebc52589190610d2d3557515fa to your computer and use it in GitHub Desktop.
Show the time command was launched in zsh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AGKOZAK_CUSTOM_RPROMPT='[%D{%L:%M:%S %p}]' | |
reset-prompt-and-accept-line() { | |
zle reset-prompt | |
zle accept-line | |
} | |
zle -N reset-prompt-and-accept-line | |
bindkey '^m' reset-prompt-and-accept-line |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment