Accept a name for dl and include starter script file
[khome.git] / home / .profile
index b01c106..cbc092f 100644 (file)
@@ -1,11 +1,14 @@
-. $HOME/lib/login_variables.private.sh  # Personal data variables
+# XXX Setting the scaling variables causes inconsistent response from apps.
+#     However, launching mate-appearance-properties after startx - causes
+#     something to be adjusted and most apps scale up correctly. With some
+#     exceptions, like zeal.
+#. $HOME/lib/login_variables_dpi.sh
 
+. $HOME/lib/login_variables.private.sh
+. $HOME/lib/login_variables.sh
+. $HOME/lib/login_functions.sh
 unalias d 2> /dev/null || true  # Defined by oh-my-zsh, but I want it for dict/fzf function.
-
-for file in $HOME/lib/login_*.sh
-do
-    . $file
-done
+. $HOME/lib/login_aliases.sh
 
 umask 077
 
@@ -14,12 +17,17 @@ then
     eval "$(ssh-agent)"
 fi
 
-status
+## TODO Rename status to motd
+case "$-" in
+    # Only execute if shell is interactive.
+    *i*) ;;#status;;
+esac
 
 printf '\n'
 
-awk \
-    -v RS='' \
-    'BEGIN {srand()} {fortunes[n++] = $0} END {print fortunes[int(n * rand())]}' \
-    ~/arc/doc/fortunes/orangebook_.txt \
-| fold -s
+# TODO File per quote. Seed rng with date and select quote of the day.
+#awk \
+#    -v RS='' \
+#    'BEGIN {srand()} {fortunes[n++] = $0} END {print fortunes[int(n * rand())]}' \
+#    ~/arc/doc/fortunes/orangebook_.txt \
+#| fold -s
This page took 0.025228 seconds and 4 git commands to generate.