Add terminal exports and misc customizations

This commit is contained in:
Shaun Reed 2019-09-15 06:27:13 -04:00
parent 8759e38565
commit e43dace86f
2 changed files with 11 additions and 2 deletions

View File

@ -20,4 +20,13 @@ alias config='/usr/bin/git --git-dir=/home/kapper/.cfg/ --work-tree=/home/kapper
export EDITOR='/usr/bin/vim' export EDITOR='/usr/bin/vim'
export VISUAL='/usr/bin/vim' export VISUAL='/usr/bin/vim'
export TERMINAL='urxvt -e tmux'
export PROMPT_COMMAND="$TMUX_GITBAR_DIR/update-gitbar; $PROMPT_COMMAND"
if command -v tmux &> /dev/null && [ -n "$PS1" ] && [[ ! "$TERM" =~ screen ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then
exec tmux
fi
eval "$(dircolors ~/.dir_colors)"
export LS_COLORS="di=1;34:ln=31;47:so=32:pi=33:ex=1;32:bd=34;46:cd=34;43:su=30;41:sg=30;46:tw=30;42:ow=30;43"

View File

@ -1,14 +1,14 @@
# ~/.bashrc: executed by bash(1) for non-login shells. # ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples # for examples
# If not running interactively, don't do anything # If not running interactively, don't do anything
case $- in case $- in
*i*) ;; *i*) ;;
*) return;; *) return;;
esac esac
unset PROMPT_COMMAND
# don't put duplicate lines or lines starting with space in the history. # don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options # See bash(1) for more options
HISTCONTROL=ignoreboth HISTCONTROL=ignoreboth