mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-12 21:39:48 +01:00
Merge branch 'kardan' of https://github.com/kardan/oh-my-zsh into kardan-kardan
This commit is contained in:
commit
4fadc30247
1 changed files with 12 additions and 0 deletions
12
themes/kardan.zsh-theme
Normal file
12
themes/kardan.zsh-theme
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
# Simple theme based on my old zsh settings.
|
||||||
|
|
||||||
|
function get_host {
|
||||||
|
echo '@'`hostname`''
|
||||||
|
}
|
||||||
|
|
||||||
|
PROMPT='> '
|
||||||
|
RPROMPT='%~$(git_prompt_info)$(get_host)'
|
||||||
|
|
||||||
|
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[yellow]%}✗%{$reset_color%}"
|
||||||
|
ZSH_THEME_GIT_PROMPT_PREFIX="("
|
||||||
|
ZSH_THEME_GIT_PROMPT_SUFFIX=")"
|
Loading…
Reference in a new issue