dotfiles/profile
Tobias Schmidl 56ad983c4e update
2017-11-16 15:12:31 +01:00

24 lines
854 B
Bash

# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022
if [ -z $PROFILE_ALREADY_SET ];
then
export PROFILE_ALREADY_SET=1
# if running bash, include .bashrc, if it exists
[ -n "$BASH_VERSION" -a -r "$HOME/.bashrc" ] && . "$HOME/.bashrc"
# set PATH so it includes user's private bin if it exists
[ -d "$HOME/.local/bin" ] && PATH="$HOME/.local/bin:$PATH"
[ -d "$HOME/bin" ] && PATH="$HOME/bin:$PATH"
fi
mkdir -p -m 0700 /run/shm/sslkeyexport
export SSLKEYLOGFILE=/run/shm/sslkeyexport/keyexport