mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
ocodo.zsh-theme - an xterm-256color specific theme, replace 030,079,043,116 to $FG colors of your choice.
This commit is contained in:
parent
7a99688047
commit
fec2b905e5
1 changed files with 8 additions and 1 deletions
|
|
@ -1,7 +1,14 @@
|
||||||
LHOST=$(scutil --get LocalHostName)
|
# Use this theme with xterm-256color
|
||||||
|
|
||||||
|
# Uncomment for os x specific LocalHostName (if, like me you get irritating ISP assigned Hostnames)
|
||||||
|
# LHOST=$(scutil --get LocalHostName)
|
||||||
|
|
||||||
|
LHOST=$HOST
|
||||||
|
|
||||||
PROMPT='$FG[030][$FG[079]%n@$LHOST$FG[030]][$FG[043]%t$FG[030] $(git_prompt_info)$FG[116]$(rvm_prompt_info)$FG[030]]$reset_color
|
PROMPT='$FG[030][$FG[079]%n@$LHOST$FG[030]][$FG[043]%t$FG[030] $(git_prompt_info)$FG[116]$(rvm_prompt_info)$FG[030]]$reset_color
|
||||||
$FG[030][$FG[079]%~$FG[030]]$reset_color
|
$FG[030][$FG[079]%~$FG[030]]$reset_color
|
||||||
$ '
|
$ '
|
||||||
|
|
||||||
# git theming
|
# git theming
|
||||||
ZSH_THEME_GIT_PROMPT_PREFIX="$fg_bold[red]($fg_bold[white]"
|
ZSH_THEME_GIT_PROMPT_PREFIX="$fg_bold[red]($fg_bold[white]"
|
||||||
ZSH_THEME_GIT_PROMPT_SUFFIX="$fg_bold[red])"
|
ZSH_THEME_GIT_PROMPT_SUFFIX="$fg_bold[red])"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue