Commit d0fb01ce81c424b0bca08fe15b8d9d511d6436bc
1 parent
bab66a9d59
Exists in
master
untar!
Showing 1 changed file with 2 additions and 0 deletions Inline Diff
shell/profile
View file @
d0fb01c
# ~/.profile: executed by the command interpreter for login shells. | 1 | 1 | # ~/.profile: executed by the command interpreter for login shells. | |
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login | 2 | 2 | # This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login | |
# exists. | 3 | 3 | # exists. | |
# see /usr/share/doc/bash/examples/startup-files for examples. | 4 | 4 | # see /usr/share/doc/bash/examples/startup-files for examples. | |
# the files are located in the bash-doc package. | 5 | 5 | # the files are located in the bash-doc package. | |
6 | 6 | |||
# the default umask is set in /etc/profile; for setting the umask | 7 | 7 | # the default umask is set in /etc/profile; for setting the umask | |
# for ssh logins, install and configure the libpam-umask package. | 8 | 8 | # for ssh logins, install and configure the libpam-umask package. | |
#umask 022 | 9 | 9 | #umask 022 | |
10 | 10 | |||
# if running bash | 11 | 11 | # if running bash | |
if [ -n "$BASH_VERSION" ]; then | 12 | 12 | if [ -n "$BASH_VERSION" ]; then | |
# include .bashrc if it exists | 13 | 13 | # include .bashrc if it exists | |
if [ -f "$HOME/.bashrc" ]; then | 14 | 14 | if [ -f "$HOME/.bashrc" ]; then | |
. "$HOME/.bashrc" | 15 | 15 | . "$HOME/.bashrc" | |
fi | 16 | 16 | fi | |
fi | 17 | 17 | fi | |
18 | 18 | |||
# include sbin in PATH | 19 | 19 | # include sbin in PATH | |
if [ -d "/sbin" ] ; then | 20 | 20 | if [ -d "/sbin" ] ; then | |
PATH="/sbin:$PATH" | 21 | 21 | PATH="/sbin:$PATH" | |
fi | 22 | 22 | fi | |
if [ -d "/usr/sbin" ] ; then | 23 | 23 | if [ -d "/usr/sbin" ] ; then | |
PATH="/usr/sbin:$PATH" | 24 | 24 | PATH="/usr/sbin:$PATH" | |
fi | 25 | 25 | fi | |
# set PATH so it includes user's private bin if it exists | 26 | 26 | # set PATH so it includes user's private bin if it exists | |
if [ -d "$HOME/bin" ] ; then | 27 | 27 | if [ -d "$HOME/bin" ] ; then | |
PATH="$HOME/bin:$PATH" | 28 | 28 | PATH="$HOME/bin:$PATH" | |
fi | 29 | 29 | fi | |
30 | 30 |