tweak PROMPT, move PATH variable initialization

This commit is contained in:
2021-01-11 23:56:01 +01:00
parent 2d1f37f699
commit f69010c7b8
2 changed files with 6 additions and 6 deletions

View File

@@ -2,4 +2,8 @@ source ~/.config/.env
source ~/.config/.env.system
source ~/.config/.aliases
path+=("${HOME}/scripts")
path+=("${HOME}/.local/bin")
export PATH
eval `keychain --eval --quiet --agents ssh,gpg id_rsa`

View File

@@ -13,14 +13,10 @@ autoload -Uz compinit
compinit
# End of lines added by compinstall
path+=("${HOME}/scripts")
path+=("${HOME}/.local/bin")
export PATH
autoload -U colors
colors
PROMPT="%{%B%F{214}%}%* %{$fg_bold[cyan]%}%d %(?.$fg_bold[green]✓.$fg_bold[red]%?)
%(3L.$fg_bold[red]%L .)%{%B%F{214}%}%% %{$reset_color%}"
PROMPT="%{$fg_bold[yellow]%}%* %{$fg_bold[cyan]%}%d %(?.$fg_bold[green]✓.$fg_bold[red]%?)
%(3L.$fg_bold[red]%L .)%{$fg_bold[yellow]%}%%%{$reset_color%} "
source $HOME/.config/zsh/key-bindings.zsh