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\]' PS1="${DELIM_COL}[${DIR_COL}\W${DELIM_COL}] \\\$ ${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