-
Notifications
You must be signed in to change notification settings - Fork 0
/
.profile
43 lines (38 loc) · 1.79 KB
/
.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
40
41
42
43
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists. This file is read in case some WMs are started.
# Author: cbaoth <[email protected]>
# Keywords: profile bash shell-script
# {{{ - PATH -----------------------------------------------------------------
PATH="$HOME/bin:/opt/bin:/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin"
PATH+=":/usr/local/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:$PATH"
export PATH
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib"
# }}} - PATH -----------------------------------------------------------------
# {{{ - LOCALE ---------------------------------------------------------------
#export LANG=C
export LANG="en_US.UTF-8"
export LC_ALL="en_US.utf8"
export LC="en_US.utf8"
export LESSCHARSET="utf-8"
#export BREAK_CHARS="\"#'(),;\`\\|\!?[]{}"
# }}} - LOCALE ---------------------------------------------------------------
# {{{ - SECURITY & PRIVACY ---------------------------------------------------
# private session
#export HISTFILE="" # don't create shell history file
#export HISTFILESIZE=0 # set shell history file limit to zero
#export HISTSIZE=10000 # set (in memory) history limit
# persisted session
export HISTFILE="~/.bash_history" # don't create shell history file
export HISTFILESIZE=10000 # set shell history file limit to zero
export HISTSIZE=10000 # set (in memory) history limit
# }}} - SECURITY & PRIVACY ---------------------------------------------------
# {{{ - BASH -----------------------------------------------------------------
# if running bash
if [[ -n "${BASH_VERSION-}" ]]; then
# include .bashrc if it exists
if [[ -f "$HOME/.bashrc" ]]; then
. "$HOME/.bashrc"
fi
fi
# }}} - BASH -----------------------------------------------------------------