Skip to content

Instantly share code, notes, and snippets.

@vikytech
Created September 6, 2021 08:15
Show Gist options
  • Save vikytech/076f50c1dc08c7400a67c2535a12dad6 to your computer and use it in GitHub Desktop.
Save vikytech/076f50c1dc08c7400a67c2535a12dad6 to your computer and use it in GitHub Desktop.
Show execution time in zsh/bash
PROMPT='%@ ➜${ret_status}%{$fg_bold[green]%}%p %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%}%{$reset_color%}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment