-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprivate_dot_bashrc
47 lines (36 loc) · 1.24 KB
/
private_dot_bashrc
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
44
45
46
47
# Just to have some propper functionality in a bash session.
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
# Bash only setup:
PS1='[\u@\h \W]\$ '
# GUI only setup:
if [ $DISPLAY ]; then
xset -b;
fi
# General setup:
eval `dircolors -b $HOME/.dircolors`
ulimit -c unlimited
# Environment variables:
export EDITOR=emacsclient
export BROWSER=firefox
export PDFVIEWER=xpdf
export IMAGEVIEWER='feh -.'
export MEDIAPLAYER='mplayer'
export PATH=$HOME/.bin:$HOME/.local/bin:$HOME/node_modules/.bin:$HOME/.cabal/bin:$PATH
export TCLLIBPATH=". $TCLLIBPATH"
# Python Environment
export PYTHONSTARTUP="$HOME/.pythonrc"
# Less configuration:
export LESS_TERMCAP_mb=$'\E[01;31m' # begin blinking
export LESS_TERMCAP_md=$'\E[01;38;5;74m' # begin bold
export LESS_TERMCAP_me=$'\E[0m' # end mode
export LESS_TERMCAP_se=$'\E[0m' # end standout-mode
export LESS_TERMCAP_so=$'\E[38;5;246m' # begin standout-mode - info box
export LESS_TERMCAP_ue=$'\E[0m' # end underline
export LESS_TERMCAP_us=$'\E[04;38;5;146m' # begin underline
export LESS="-R"
command -v lesspipe &> /dev/null && eval $(lesspipe)
# Locale
export LC_ALL=en_US.UTF-8
source ~/.bashaliases
[ -e ~/.bashcustom ] && source ~/.bashcustom