Disable motd/status even for interactive shell starts
[khome.git] / home / .profile
... / ...
CommitLineData
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
10unalias 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
13umask 077
14
15if test ! "$SSH_AGENT_PID"
16then
17 eval "$(ssh-agent)"
18fi
19
20## TODO Rename status to motd
21case "$-" in
22 # Only execute if shell is interactive.
23 *i*) ;;#status;;
24esac
25
26printf '\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
This page took 0.017717 seconds and 4 git commands to generate.