]> git.r.bdr.sh - rbdr/dotfiles/blame_incremental - runcoms/zlogin
Add DAP
[rbdr/dotfiles] / runcoms / zlogin
... / ...
CommitLineData
1# Execute code that does not affect the current session in the background.
2{
3 # Compile the completion dump to increase startup speed.
4 zcompdump="${ZDOTDIR:-$HOME}/.zcompdump"
5 if [[ -s "$zcompdump" && (! -s "${zcompdump}.zwc" || "$zcompdump" -nt "${zcompdump}.zwc") ]]; then
6 zcompile "$zcompdump"
7 fi
8} &!
9
10# Print a random, hopefully interesting, adage.
11if (( $+commands[fortune] )); then
12 echo -en "\033[30m"
13 if [[ -t 0 || -t 1 ]]; then
14 fortune -s
15 print
16 fi
17 echo -en "\033[m"
18fi