dotfiles/zsh/zlogin
James Patrick 3b54637ca7 Adding basic zsh configuration.
At this point the following doesn't work.

- prompt
- history
- most autocomplete

Additionally with the tmux script getting loaded zplug we are getting a double
render issue, which is increasing the start up time. I'll probably move this
before the .zshrc set to short circuit having to set up all zplug script twice
before having a useable shell.
2019-04-30 23:29:37 -04:00

17 lines
435 B
Bash

# vim: syn=zsh
# Executes commands at login post-zshrc.
#
# Execute code that does not affect the current session in the background.
( autoload -Uz colors && colors ) &!
{
# Compile the completion dump to increase startup speed.
#
zcompdump="${ZDIR}/transient/.zcompdump"
if [[ -s "$zcompdump" && (! -s "${zcompdump}.zwc" || "$zcompdump" -nt "${zcompdump}.zwc") ]]; then
zcompile "$zcompdump"
fi
} &!
env_loader zlogin