Skip to content
Snippets Groups Projects
Commit 85d66352 authored by Ayaz Badouraly's avatar Ayaz Badouraly
Browse files

Updating prompt time format

parent 1c3f2859
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,11 @@ You then need to select this theme in your `~/.zshrc` :
ZSH_THEME="oh-my-via/via"
```
### Customization
Time format defaults to `%D{%H:%M}`, but can be overwritten by setting the variable
`OHMYVIA_TIME_FORMAT` in your `~/.zshrc`.
License
-------
......
# VIA ZSH Theme - Preview: ASAP
# Fork from the historical VIA Centrale Réseaux ZSH Theme
local clock="%{$fg_bold[cyan]%}%T%{$reset_color%}"
local time_format=${OHMYVIA_TIME_FORMAT:-"%D{%H:%M}"}
local clock="%{$fg_bold[cyan]%}$time_format%{$reset_color%}"
# Check the UID
if [[ $UID -ne 0 ]];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment