blob: 809390f59947c29258eb4f514cdfbddb482019b9 (
plain)
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
if [ "${SSH_USER}x" = "x" ]; then
export SSH_USER=$USER
fi
#export PAGER="col -b 2>/dev/null | view -c 'set ft=man' -c 'set titlestring=[view]man' -c 'set number!' -"
#export PAGER="sed 's/\[[^m]*m//g; s/.//g' | view -c 'set ft=man' -c 'set titlestring=[view]man' -c 'set number!' -"
#export MANWIDTH=4294967296
#export PAGER="sed 's/\[[^m]*m//g' | view -c 'set ft=man' -c 'set titlestring=[view]man' -c 'set number!' -"
# from dell-notebook
# \x1b = \e ; \x08 = ^H (backspace)
#PAGER="sed 's/\\x1b\[[^m]*m//g; s/\\x08.//g' | \
# view -c 'set ft=man' -c 'set titlestring=man' -c 'set number!' -"
# since vim has support - use built in ones..
if [ `type -P vimpager 2>&-` ]; then
export MANPAGER="vimmanpager"
export PAGER="vimpager"
fi
# dont like the automatic pager spawning for ctl aps
export SYSTEMD_PAGER=
if [[ ${EUID} == 0 ]]; then
DELIM_COL='\[\e[0;31m\]'
DIR_COL='\[\e[0;34m\]'
UNAME_COL='\[\e[0;31m\]'
else
DELIM_COL='\[\e[0;34m\]'
DIR_COL='\[\e[0;32m\]'
UNAME_COL='\[\e[1;32m\]'
fi
NOR_COL='\[\e[0m\]'
source ~/.config/bash/git-prompt.sh
PS1="${DELIM_COL}[${DIR_COL}\W${DELIM_COL}]\$(__git_ps1 \" (%s)\") \\\$ ${NOR_COL}"
[[ -n $SSH_CLIENT ]] && PS1="${UNAME_COL}`[[ ${EUID} != 0 ]] && echo '\u@'`\h $PS1"
unset BRACKET_COL DIR_COL PROMPT_COL NOR_COL UNAME_COL
# configure audio
export SDL_AUDIODRIVER=pulse
# openal config in ~/.config/openal/alsoft.conf instead of ~/.alsoftrc
export ALSOFT_CONF="${HOME}/.config/openal/alsoft.conf"
# readline should read its user config from this path instead ~/.inputrc
export INPUTRC="${HOME}/.config/readline/inputrc"
# manually set vim's vimrc variable and then source that file on vim startup
export VIMINIT='let $MYVIMRC="$HOME/.config/vim/vimrc" | source $MYVIMRC'
#export GTK2_RC_FILES="${HOME}/.config/gtk-2.0/gtkrc"
export EIXRC="${HOME}/.config/eixrc/eixrc"
export DVDCSS_CACHE="${HOME}/.cache/dvdcss/"
# Needed for libquvi 0.9 (0.4 automatically searches here)
export LIBQUVI_SCRIPTS_DIR="${HOME}/.local/share/libquvi-scripts/"
# Include npm definitions
source ~/.config/bash/npm-path.sh
export PATH="${HOME}/go/bin:${PATH}"
export PYTHONPATH="${HOME}/.local/lib/python"
export ANDROID_HOME="${HOME}/.local/lib/android/sdk"
export N_PREFIX="${HOME}/.local/lib/node-version-manager"
export TYPO3_V7_DB_HOST="f26-cloud"
export QBUS_LOCAL_DEV=1
|