source: lab/trunk/TipAndDoc/.profile @ 159

Last change on this file since 159 was 92, checked in by mitty, 13 years ago
File size: 586 bytes
Line 
1# ~/.profile: executed by the command interpreter for login shells.
2# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
3# exists.
4# see /usr/share/doc/bash/examples/startup-files for examples.
5# the files are located in the bash-doc package.
6
7# the default umask is set in /etc/profile
8#umask 022
9
10# if running bash
11if [ -n "$BASH_VERSION" ]; then
12    # include .bashrc if it exists
13    if [ -f "$HOME/.bashrc" ]; then
14    . "$HOME/.bashrc"
15    fi
16fi
17
18# set PATH so it includes user's private bin if it exists
19if [ -d "$HOME/bin" ] ; then
20    PATH="$HOME/bin:$PATH"
21fi
Note: See TracBrowser for help on using the repository browser.