dotfiles/.profile

22 lines
767 B
Text
Raw Normal View History

2018-05-29 11:01:29 +02:00
# ~/.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
2018-06-05 04:55:45 +02:00
if [ -z $PROFILE_ALREADY_SET ];
then
export PROFILE_ALREADY_SET=1
2018-05-29 11:01:29 +02:00
2018-06-05 04:55:45 +02:00
# if running bash, include .bashrc if it exists
[ -n "$BASH_VERSION" -a -f "$HOME/.bashrc" ] && . "$HOME/.bashrc";
2018-05-29 11:01:29 +02:00
2018-06-05 04:55:45 +02:00
# set PATH so it includes user's private bin dirs if they exist
[ -d "$HOME/.local/bin" ] && PATH="$HOME/.local/bin:$PATH"
[ -d "$HOME/bin" ] && PATH="$HOME/bin:$PATH"
2018-05-29 11:01:29 +02:00
fi