Commit | Line | Data |
---|---|---|
e2b9f534 SK |
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 | |
4af9eedb | 6 | |
e2b9f534 SK |
7 | . $HOME/lib/login_variables.private.sh |
8 | . $HOME/lib/login_variables.sh | |
9 | . $HOME/lib/login_functions.sh | |
3f673776 | 10 | unalias d 2> /dev/null || true # Defined by oh-my-zsh, but I want it for dict/fzf function. |
e2b9f534 | 11 | . $HOME/lib/login_aliases.sh |
44c60ac6 | 12 | |
444537b3 SK |
13 | umask 077 |
14 | ||
44c60ac6 SK |
15 | if test ! "$SSH_AGENT_PID" |
16 | then | |
17 | eval "$(ssh-agent)" | |
18 | fi | |
922745e8 | 19 | |
e2b9f534 SK |
20 | ## TODO Rename status to motd |
21 | case "$-" in | |
22 | # Only execute if shell is interactive. | |
15febc39 | 23 | *i*) ;;#status;; |
e2b9f534 | 24 | esac |
a3ee7a6d SK |
25 | |
26 | printf '\n' | |
27 | ||
e2b9f534 | 28 | # TODO File per quote. Seed rng with date and select quote of the day. |
9a681a6e SK |
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 |