add zsh syntax highlighting, move stuff around

This commit is contained in:
Václav Uruba 2021-04-02 01:21:51 +02:00
parent 367026a86c
commit fb71ae7990
Signed by: uruba
GPG Key ID: 0059B34D61727BB0
4 changed files with 10 additions and 2 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "zsh/.config/zsh/plugins/fast-syntax-highlighting"]
path = zsh/.config/zsh/plugins/fast-syntax-highlighting
url = https://github.com/zdharma/fast-syntax-highlighting.git

@ -0,0 +1 @@
Subproject commit a62d721affc771de2c78201d868d80668a84c1e1

View File

@ -7,5 +7,4 @@ export PATH
source ~/.config/.env
source ~/.config/.env.system
eval `keychain --eval --quiet --agents ssh,gpg id_rsa`
source "$HOME/.cargo/env"

View File

@ -25,6 +25,7 @@ PROMPT="%{$fg_bold[yellow]%}%* %{$fg_bold[cyan]%}%d %(?.$fg_bold[green]✓.$fg_b
%(3L.$fg_bold[red]%L .)%{$fg_bold[yellow]%}%%%{$reset_color%} "
source ~/.config/.aliases
source ~/.config/.aliases.local
source $HOME/.config/zsh/key-bindings.zsh
@ -46,3 +47,7 @@ fi
if [[ -f ~/.last_dir ]]; then
cd $(cat ~/.last_dir)
fi
source ~/.config/zsh/plugins/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh
eval `keychain --eval --quiet --agents ssh,gpg id_rsa`