X-Git-Url: http://lab.mitty.jp/git/?a=blobdiff_plain;ds=sidebyside;f=.profile;fp=.profile;h=923cbaca9b06fd31e09699ab8d4d5256702a9705;hb=46dc3f4565693891ba3efd219b49329229ec669a;hp=0000000000000000000000000000000000000000;hpb=99e75c7d84fb9c6ec898533945fde998d2a9e005;p=lab.git diff --git a/.profile b/.profile new file mode 100644 index 0000000..923cbac --- /dev/null +++ b/.profile @@ -0,0 +1,21 @@ +# ~/.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 +#umask 022 + +# if running bash +if [ -n "$BASH_VERSION" ]; then + # include .bashrc if it exists + if [ -f "$HOME/.bashrc" ]; then + . "$HOME/.bashrc" + fi +fi + +# set PATH so it includes user's private bin if it exists +if [ -d "$HOME/bin" ] ; then + PATH="$HOME/bin:$PATH" +fi