Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
17c6c037
Commit
17c6c037
authored
Dec 03, 2010
by
Daniel Karlsson
Browse files
Updated the PROMT.
parent
0e2d289f
Changes
1
Show whitespace changes
Inline
Side-by-side
themes/kardan.zsh-theme
View file @
17c6c037
#
Comment
#
Simple theme based on my old zsh settings.
function get_host {
function get_host {
echo '@'`hostname`''
echo '@'`hostname`''
}
}
PROMPT='> '
RPROMPT='%~$(git_prompt_info)$(get_host)'
RPROMPT='%~$(git_prompt_info)$(get_host)'
export PS1='> '
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[yellow]%}✗%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[yellow]%}✗%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_PREFIX="("
ZSH_THEME_GIT_PROMPT_PREFIX="("
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment