Browse Source

.bash_profile: turned into a .profile

master
Alejandro Mery 16 years ago
parent
commit
23dc978e8e
2 changed files with 12 additions and 4 deletions
  1. +0
    -4
      .bash_profile
  2. +12
    -0
      .profile

+ 0
- 4
.bash_profile

@ -1,4 +0,0 @@
if [ -s "$HOME/.bashrc" ]; then
echo ".bash_profile: -> .bashrc" >&2
. "$HOME/.bashrc"
fi

+ 12
- 0
.profile

@ -0,0 +1,12 @@
# $HOME/bin
#
if [ -d "$HOME/bin" ]; then
export PATH="$HOME/bin:$PATH"
fi
# redirect bash to .bashrc (for `screen`)
if [ -n "$BASH_VERSION" ]; then
if [ -s "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi

Loading…
Cancel
Save