-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bash_profile
39 lines (30 loc) · 1022 Bytes
/
.bash_profile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Dawid Ferenczy 2014 - 2017
# http://github.com/ferenczy/dotfiles
# base-files version 4.1-1
# ~/.bash_profile: executed by bash(1) for login shells.
# User dependent .bash_profile file
# Set user-defined locale
export LANG=$(locale -uU)
export LC_ALL=$(locale -uU)
# source common profile
if [[ -f "${HOME}/.profile" ]]; then
source "${HOME}/.profile"
fi
# if running interactive, source the users .bashrc if it exists
if [[ $- == *i* && -f "${HOME}/.bashrc" ]]; then
source "${HOME}/.bashrc"
fi
# Exclude long paths and Windows directories from the PATH environment variable
# PATH="/usr/local/bin:/usr/bin"
# Set PATH so it includes user's private bin if it exists
if [[ -d "${HOME}/bin" ]]; then
PATH="${HOME}/bin:${PATH}"
fi
# Set MANPATH so it includes users' private man if it exists
# if [ -d "${HOME}/man" ]; then
# MANPATH="${HOME}/man:${MANPATH}"
# fi
# Set INFOPATH so it includes users' private info if it exists
# if [ -d "${HOME}/info" ]; then
# INFOPATH="${HOME}/info:${INFOPATH}"
# fi