aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/zsh/.zshrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc
index ea07fe3..07092fa 100644
--- a/.config/zsh/.zshrc
+++ b/.config/zsh/.zshrc
@@ -1,6 +1,6 @@
# Enable colors and change prompt:
autoload -U colors && colors # Load colors
-PS1='%B%{$fg[yellow]%}%n%{$fg[white]%}@%{$fg[magenta]%}%M %{$fg[magenta]%}%~%{$reset_color%} $%b${vcs_info_msg_0_} '
+PS1='%{$fg[green]%}%~%{$fg[magenta]%}%b${vcs_info_msg_0_}%{$fg[blue]%} -> %{$reset_color%}'
setopt autocd # Automatically cd into typed directory.
stty stop undef # Disable ctrl-s to freeze terminal.
setopt interactive_comments
@@ -13,7 +13,7 @@ setopt inc_append_history
autoload -Uz vcs_info # enable vcs_info
precmd () { vcs_info }
-zstyle ':vcs_info:*' formats ' %s(%F{blue}%b%f)' # git(main)
+zstyle ':vcs_info:*' formats ' %F{magenta}%b%u%f' # git(main)
# Load aliases and shortcuts if existent.
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutrc" ] && source "${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutrc"