diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2011-02-28 12:52:02 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2011-02-28 12:52:02 +1300 |
commit | 76028f864fe54998d1bf21ab48e3af76c213d513 (patch) | |
tree | fc310f334f893ae3688380d63a818281df2628d5 /bash/profile | |
download | dotfiles-76028f864fe54998d1bf21ab48e3af76c213d513.tar.gz dotfiles-76028f864fe54998d1bf21ab48e3af76c213d513.zip |
Initial commit of experimental dotfiles repository.
Diffstat (limited to 'bash/profile')
-rw-r--r-- | bash/profile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/bash/profile b/bash/profile new file mode 100644 index 00000000..93bbc73e --- /dev/null +++ b/bash/profile @@ -0,0 +1,23 @@ +# ~/.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 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 + |