| 1 | # XXX Setting the scaling variables causes inconsistent response from apps. |
| 2 | # However, launching mate-appearance-properties after startx - causes |
| 3 | # something to be adjusted and most apps scale up correctly. With some |
| 4 | # exceptions, like zeal. |
| 5 | #. $HOME/lib/login_variables_dpi.sh |
| 6 | |
| 7 | . $HOME/lib/login_variables.private.sh |
| 8 | . $HOME/lib/login_variables.sh |
| 9 | . $HOME/lib/login_functions.sh |
| 10 | unalias d 2> /dev/null || true # Defined by oh-my-zsh, but I want it for dict/fzf function. |
| 11 | . $HOME/lib/login_aliases.sh |
| 12 | |
| 13 | umask 077 |
| 14 | |
| 15 | if test ! "$SSH_AGENT_PID" |
| 16 | then |
| 17 | eval "$(ssh-agent)" |
| 18 | fi |
| 19 | |
| 20 | ## TODO Rename status to motd |
| 21 | case "$-" in |
| 22 | # Only execute if shell is interactive. |
| 23 | *i*) status;; |
| 24 | esac |
| 25 | |
| 26 | printf '\n' |
| 27 | |
| 28 | # TODO File per quote. Seed rng with date and select quote of the day. |
| 29 | #awk \ |
| 30 | # -v RS='' \ |
| 31 | # 'BEGIN {srand()} {fortunes[n++] = $0} END {print fortunes[int(n * rand())]}' \ |
| 32 | # ~/arc/doc/fortunes/orangebook_.txt \ |
| 33 | #| fold -s |