| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,12 @@ |
| 0 |
+# Comment |
|
| 1 |
+ |
|
| 2 |
+function get_host {
|
|
| 3 |
+ echo '@'`hostname`'' |
|
| 4 |
+} |
|
| 5 |
+ |
|
| 6 |
+RPROMPT='%~$(git_prompt_info)$(get_host)' |
|
| 7 |
+export PS1='> ' |
|
| 8 |
+ |
|
| 9 |
+ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[yellow]%}✗%{$reset_color%}"
|
|
| 10 |
+ZSH_THEME_GIT_PROMPT_PREFIX="("
|
|
| 11 |
+ZSH_THEME_GIT_PROMPT_SUFFIX=")" |
|
| 0 | 12 |
\ No newline at end of file |