Some smaller changes

This commit is contained in:
CramMK
2020-06-16 09:47:51 +02:00
parent 277c61f181
commit fd4b579316
4 changed files with 6 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ autoload -U colors && colors
precmd_vcs_info() { vcs_info }
precmd_functions+=( precmd_vcs_info )
setopt prompt_subst
export PROMPT="%{$fg[yellow]%}%m %{$fg_bold[green]%}➜ %{$fg_bold[blue]%}%~ %{$fg_bold[red]%}\$vcs_info_msg_0_ %{$reset_color%}"
export PROMPT="%{$fg[yellow]%}%m %{$fg_bold[green]%}➜ %{$fg_bold[blue]%}%~ %{$fg_bold[green]%}\$vcs_info_msg_0_ %{$reset_color%}"
zstyle ':vcs_info:git:*' formats '%b'
## Exports
@@ -36,6 +36,7 @@ alias mv='mv -i' # Ask before removal
alias gaa="git add ."
alias gst="git status"
alias gd="git diff"
alias gc="git commit -v"
alias gc!="git commit -v --amend"
alias gl="git pull"