not forgetting to update dotfiles

This commit is contained in:
Simonas Narbutas
2018-07-24 16:36:26 +02:00
parent 8b1c6cd263
commit 1f4ba21976
3 changed files with 69 additions and 15 deletions

View File

@@ -1,12 +1,12 @@
### =============== Git prompt ================ ###
source ".zsh-git-prompt/zshrc.sh"
source "/home/snarbutas/.zsh-git-prompt/zshrc.sh"
ZSH_THEME_GIT_PROMPT_BRANCH="%{\x1b[3m%}%{$fg[cyan]%}"
ZSH_THEME_GIT_PROMPT_STAGED="%{$fg[green]%}%{¤%G%}"
ZSH_THEME_GIT_PROMPT_CONFLICTS="%{$fg[blue]%}%{x%G%}"
ZSH_THEME_GIT_PROMPT_CHANGED="%{$fg[red]%}%{+%G%}"
ZSH_THEME_GIT_PROMPT_BEHIND="%{$fg[red]%}%{↓%G%}"
ZSH_THEME_GIT_PROMPT_CHANGED="%{%F{196}%}%{+%G%}%F{reset}"
ZSH_THEME_GIT_PROMPT_BEHIND="%{%F{196}%}%{↓%F{reset}%G%}"
ZSH_THEME_GIT_PROMPT_AHEAD="%{$fg[blue]%}%{↑%G%}"
ZSH_THEME_GIT_PROMPT_UNTRACKED="$fg[red]%}%{…%G%}"
ZSH_THEME_GIT_PROMPT_UNTRACKED="%F{196}%}%{…%F{reset}%G%}"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[green]%}%{✔%G%}"
### =============== Git prompt ================ ###
@@ -56,8 +56,8 @@ LESSOPEN='|~/.lessfilter %s'
PAGER="less"
EDITOR="vim"
VISUAL="${EDITOR}"
TERM="xterm-256color"
export PAGER EDITOR VISUAL TERM
#TERM="xterm-termite"
export PAGER EDITOR VISUAL
## Setup the CDPATH with interesting directories
typeset -U path cdpath fpath
@@ -141,12 +141,13 @@ for f in ~/.zsh.d/*.zsh; do
source "$f"
done
eval "$(<~/.ssh/agent)"
# The next line updates PATH for the Google Cloud SDK.
if [ -f /Users/snarbutas/google-cloud-sdk/path.zsh.inc ]; then
source '/Users/snarbutas/google-cloud-sdk/path.zsh.inc'
if [ -f /home/snarbutas/google-cloud-sdk/path.zsh.inc ]; then
source '/home/snarbutas/google-cloud-sdk/path.zsh.inc'
fi
# The next line enables shell command completion for gcloud.
#if [ -f /Users/snarbutas/google-cloud-sdk/completion.zsh.inc ]; then
# source '/Users/snarbutas/google-cloud-sdk/completion.zsh.inc'
#if [ -f /home/snarbutas/google-cloud-sdk/completion.zsh.inc ]; then
# source '/home/snarbutas/google-cloud-sdk/completion.zsh.inc'
#fi