X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=home%2F.profile;h=b01c106aaa9f096b9fd8cd3ddac1b7fb46dd236a;hb=2953aaf3c3572518e6f89584f6978aa2c6e13b64;hp=9b45b6821a8cb026cc8c532e22b17a28a64223fb;hpb=e0dbdb36bcead345015db47df3ce182abd835050;p=khome.git diff --git a/home/.profile b/home/.profile index 9b45b68..b01c106 100644 --- a/home/.profile +++ b/home/.profile @@ -1,8 +1,25 @@ . $HOME/lib/login_variables.private.sh # Personal data variables -unalias d # Defined by oh-my-zsh, but I want it for dict/fzf function. +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 + +umask 077 + +if test ! "$SSH_AGENT_PID" +then + eval "$(ssh-agent)" +fi + +status + +printf '\n' + +awk \ + -v RS='' \ + 'BEGIN {srand()} {fortunes[n++] = $0} END {print fortunes[int(n * rand())]}' \ + ~/arc/doc/fortunes/orangebook_.txt \ +| fold -s