summaryrefslogtreecommitdiff
path: root/.config/zsh/prompt.zsh
diff options
context:
space:
mode:
authoraktersnurra <grydholm@kth.se>2021-02-07 14:30:31 +0100
committeraktersnurra <grydholm@kth.se>2021-02-07 14:30:31 +0100
commit71ad675b3280ba89289ecb09a1dc4a620989aef5 (patch)
tree96e47471e36e96d44820be3a7bc1b831c809d7f2 /.config/zsh/prompt.zsh
parent90ed26fa905edb41e69fe3b3f8d92096a23aa40f (diff)
Added zsh configs
Diffstat (limited to '.config/zsh/prompt.zsh')
-rw-r--r--.config/zsh/prompt.zsh13
1 files changed, 13 insertions, 0 deletions
diff --git a/.config/zsh/prompt.zsh b/.config/zsh/prompt.zsh
new file mode 100644
index 0000000..0881ce2
--- /dev/null
+++ b/.config/zsh/prompt.zsh
@@ -0,0 +1,13 @@
+PROMPT="%B%{$fg[blue]%}[%{$fg[white]%}%n%{$fg[red]%}@%{$fg[white]%}%m%{$fg[blue]%}]%{$reset_color%}% %(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )"
+# PROMPT+=' %{$fg[cyan]%}%c%{$reset_color%} '
+# PROMPT+=' %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)'
+ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}(%{$fg[red]%}"
+ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
+ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗"
+ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"PROMPT="%B%{$fg[blue]%}[%{$fg[white]%}%\c%{$fg[red]%}@%{$fg[white]%}%\m%{$fg[blue]%}]%{$reset_color%}% %(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )"
+# PROMPT+=' %{$fg[cyan]%}%c%{$reset_color%} '
+# PROMPT+=' %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)'
+# ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}(%{$fg[red]%}"
+# ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
+# ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗"
+# ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"