mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Adding poeks theme
This commit is contained in:
parent
757fa3314d
commit
302ba1221d
1 changed files with 15 additions and 0 deletions
15
themes/poeks.zsh-theme
Normal file
15
themes/poeks.zsh-theme
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
function get_path {
|
||||||
|
regex="\/([^\/]+)$"
|
||||||
|
if [[ ${PWD} =~ $regex ]]; then
|
||||||
|
title $match
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
POEKS_TIME="%{$FG[027]%}%T%{$reset_color%}"
|
||||||
|
ZSH_THEME_GIT_PROMPT_PREFIX=" %{$FG[117]%}"
|
||||||
|
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}%{$FG[117]%} %{$reset_color%}"
|
||||||
|
GIT_DIRTY_COLOR=$FG[205]
|
||||||
|
ZSH_THEME_GIT_PROMPT_DIRTY=" %{$GIT_DIRTY_COLOR%}♺"
|
||||||
|
|
||||||
|
PROMPT='$(get_path) $POEKS_TIME %{$FG[033]%}$(rvm_prompt_info)%{$reset_color%} %{$FG[039]%}%c%{$reset_color%}$(git_prompt_info)
|
||||||
|
$ '
|
||||||
Loading…
Add table
Add a link
Reference in a new issue