tweak .zshrc

This commit is contained in:
Václav Uruba 2021-04-25 13:15:58 +02:00
parent d5905464ed
commit 318f6636cd
Signed by: uruba
GPG Key ID: 0059B34D61727BB0

View File

@ -21,13 +21,14 @@ compinit
autoload -U colors autoload -U colors
colors colors
PROMPT="%{$fg[yellow]%}%* %{$fg[blue]%}%d %(?.$fg[green]✓.$fg[red]%?) PROMPT="%{$fg_bold[yellow]%}%* %{$fg_bold[blue]%}%d %(?.$fg_bold[green]✓.$fg_bold[red]%?)
%(3L.$fg[red]%L .)%{$fg[yellow]%}%%%{$reset_color%} " %(3L.$fg_bold[red]%L .)%(?.$fg_bold[green].$fg_bold[red])%%%{$reset_color%} "
source ~/.config/.aliases source $HOME/.config/.aliases
source ~/.config/.aliases.local source $HOME/.config/.aliases.local
source $HOME/.config/zsh/key-bindings.zsh source $HOME/.config/zsh/key-bindings.zsh
source $HOME/.config/zsh/plugins/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh
bindkey "^[[H" beginning-of-line bindkey "^[[H" beginning-of-line
bindkey "^[[4~" end-of-line bindkey "^[[4~" end-of-line
@ -48,6 +49,4 @@ if [[ -f ~/.last_dir ]]; then
cd $(cat ~/.last_dir) cd $(cat ~/.last_dir)
fi fi
source ~/.config/zsh/plugins/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh
eval `keychain --eval --quiet --agents ssh,gpg id_rsa` eval `keychain --eval --quiet --agents ssh,gpg id_rsa`